Problems with mod_rewrite

Discussion in 'General' started by JuStInEr, Nov 13, 2007.

  1. JuStInEr

    JuStInEr New Member

    When I try to use mod rewrite in my .htaccess files, I get a 500 error. When trying to solve this I added the following to the Apache directives:
    Code:
    <Directory /var/www/web2/web/>  
    	Options FollowSymLinks
    	AllowOverride All
    </Directory>
    But I still get the 500 error when accessing the website.

    The log says the following:
    Code:
    [Tue Nov 13 12:44:21 2007] [alert] [client 10.0.0.199] /var/www/web2/web/.htaccess: Illegal option RewriteEngine, referer: http://test.nl/
    The .htacces file is very baic:
    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule ^alice.html$ bob.html
    Hope some can help me...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that you have mod_rewrite installed and enabled on your server.

    Have a look at the perfect setup guide for detailed instructions.
     

Share This Page