.htaccess error?

Discussion in 'Server Operation' started by edge, Jun 1, 2006.

  1. edge

    edge Active Member Moderator

    Hi all,

    I need to have the following in my .htaccess

    Options +FollowSymLinks
    RewriteEngine On
    RewriteRule ^v/(.+)/(.+).(.+) view.php?key=$1&file=$2 
    RewriteRule ^d/(.+)/(.+)/(.+).(.+) download.php?key=$1&time=$2
    Problem is that as soon as I enable Options +FolloSymLinks Apache will give me a 500 error. (the rest of the code is ok)

    The Apache version is: 2.0.54. (with PHP version 5.1.4, and ISPconfig 2.2.3)

    Is there any other way of using the 'Options +FollowSymLinks' option?

    Thank you..
  2. edge

    edge Active Member Moderator


    After adding it to the /etc/httpd/conf/httpd.conf, and doing a 'service httpd restart' I got it to work :)

       <Directory /usr/local/httpd/htdocs>
       Options +FollowSymLinks

Share This Page