-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/21/2011 02:40 PM, 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. > > I suspect you are seeing the effects of DirectoryIndex and have the file specified [in DirectoryIndex] in that directory. http://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex If you wish to simply see a listing of all files, ensure mod_autoindex is loaded and that you also specify "Options FollowSymLinks Indexes". You would also need to ensure that you either do not have the file specified by DirectoryIndex (It defaults to index.html) or you set DirectoryIndex to something you don't expect to see in that directory. - -- Mark Watts BSc RHCE Senior Systems Engineer, MSS Secure Managed Hosting www.QinetiQ.com QinetiQ - Delivering customer-focused solutions GPG Key: http://www.linux-corner.info/mwatts.gpg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk1ik8AACgkQBn4EFUVUIO0xxwCg1BE8IPbDp2QAy5vYSOtm3WZ/ j/AAn2HcSKPxH/Ke/ImSf7QuGQdFr3M2 =WJh0 -----END PGP SIGNATURE----- --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx