making direcories and symbolic links in apache web directory

This made me worried for the past two days. Thanks to IRC I got the solution.

Add these lines at the end of your default-server.conf file for apache. On opensuse it is in /etc/apache2/defualt-server.conf

<Directory “path to directory like /srv/www/htdocs/download”>

options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

AllowOverride All

Order allow,deny

Allow from all


Then restart apache.

This makes the directory visible from web browser and makes apache follow symbolic links !

This was really painful yet the answer was so simple.

I need to look in apache configurations properly.