httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DW <>
Subject [users@httpd] Re: Access directory through apache
Date Tue, 22 Feb 2011 04:38:03 GMT
The simple way is to use "options indexes" like this:

<Directory "/var/opt/webstack/apache2/2.2/htdocs/frontend">
        *options indexes*

If the above doesn't work then try putting: *Options +Indexes*

Put the above in your httpd.conf, AND stop and restart the server for 
changes to take effect.

Let us know if this worked.

Good luck

Amol Puglia wrote:
> Hello Team,
> I have configured apache to access directory through browser.
> Whenever i am trying to access directory using following url, i am 
> getting default page and unable to browse files and subdirectory under 
> that directory.
> My configuration in httpd.conf file is as shown below.
> <Directory "/var/opt/webstack/apache2/2.2/htdocs/frontend">
>     Options FollowSymLinks
>     AllowOverride None
>     #Order deny,allow
>     Order allow,deny
>     Allow from all
> </Directory>
> I am trying to access contents under directory using following url
> http:\\server_name/frontend
> Instead of listing contents under that directory it always redirect me 
> to default page.
> kindly guide me to achieve the same.

View raw message