View Single Post
Old 14th August 2011, 01:19
MetZ MetZ is offline
Junior Member
Join Date: Aug 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


a2enmod rewrite = Module rewrite already enabled

Error.log = .htaccess: Invalid command
RewriteEngine On
RewriteRule ^link([^/]*).html$ rewrite.php?link=$1 [L]
I am trying to get this rewrite going, using a a test script to check whats what.

I can not understand why rewrite is not working on my system.. I uploaded all files trough my created ftp account for that site/client.

# ls -all display correct ownership of files (web1:client1)

What vhost config files are in use?
- /etc/apache2/sites-enabled
- /etc/apache2/sites-available

Or are there any other files that might result in htaccess not working?

Reply With Quote