You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by DW <xf...@hotmail.com> on 2011/02/22 05:38:03 UTC
[users@httpd] Re: Access directory through apache
The simple way is to use "options indexes" like this:
<Directory "/var/opt/webstack/apache2/2.2/htdocs/frontend">
*options indexes*
</Directory>
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.
>
>