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:
    <Directory /var/www/web2/web/>  
    	Options FollowSymLinks
    	AllowOverride All
    But I still get the 500 error when accessing the website.

    The log says the following:
    [Tue Nov 13 12:44:21 2007] [alert] [client] /var/www/web2/web/.htaccess: Illegal option RewriteEngine, referer:
    The .htacces file is very baic:
    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