Codes from my life

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

</Directory>

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.

Advertisements

Comments on: "making direcories and symbolic links in apache web directory" (1)

  1. dear
    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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: