Robert's picture

Untouched Fresh Install: Lamp, TurnKey Linux 11.3 / Ubuntu 10.04 Lucid LTS

I can not seem to get my script to output to a page. PHP is working and I have mod_rewrite on. I have scoured the web for an answer with no luck. So I just did a fresh install so I will be starting from scratch if I should obtain an answer here.

My .htaccess file located in:
looks like this:

<IfModule mod_rewrite.c>
Options +Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^detail/(.*)$ index.php?type=detail&asin=$1 [NC,L]
RewriteRule ^node/([^/]+)$ index.php?type=node&node=$1 [NC,L]
RewriteRule ^node/([^/]+)/page/([^/]+)$ index.php?type=page&node=$1&page=$2 [NC,L]
RewriteRule ^about$ index.php?type=about [NC,L]
RewriteRule ^listmania/(.*)$ index.php?type=listmania&id=$1 [NC,L]
RewriteRule ^search$ index.php?type=search&%{QUERY_STRING} [NC,L]
RewriteRule ^cart$ index.php?type=cart&action=view [NC,L]
RewriteRule ^cart/add/(.*)$ index.php?type=cart&action=add&asin=$1 [NC,L]
RewriteRule ^cart/remove/(.*)$ index.php?type=cart&action=remove&asin=$1&%{QUERY_STRING} [NC,L]
RewriteRule ^cart/modify$ index.php?type=cart&action=modify&%{QUERY_STRING} [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^images/(.*)$ index.php?type=images&asin=$1 [NC,L]

When I access the site and "view source" in my browser I just see the number 1 and nothing else.

Anyone know how to get symlinks to work for a domain? I'm kind of new at this.

I must say... I really like Turnkey! It's the best one I have installed, and I think I have installed them all.

Thank you in advance for your time and help.



Add new comment