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.






One response to “making direcories and symbolic links in apache web directory”

  1. Ganesh Avatar

    we have configure webmin in red hat Linux 9 server, bet we want configure 8080 port , when we configure 8080 port but we are showing default test pages , we set document root folder but we are facing same problem

    plz help me about this

    thanks in advance

Leave a Reply

Your email address will not be published. Required fields are marked *