i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: prabhu (59.96.34.---)
Date: January 12, 2008 05:27AM

hai,
i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed." how to run it properly, i have already installed mysql and tomcat5.5 separetly in my sytem should i remove that?

Pls help me its very urgent.

Options: ReplyQuote
Re: i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: yfastud (Moderator)
Date: January 12, 2008 05:49AM

It's conflicted because wamp includes mysql, so you might want to remove the old one before install this wamp

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: webvan (---.fbx.proxad.net)
Date: January 17, 2008 01:36AM

Actually I would like to have "Directory Listing Denied. This Virtual Directory does not allow contents to be listed." but by default WAMPS makes the directory browsable, I'm familiat with IIs but not Apache, which setting do I need to use to make that happen?

While I'm at it, is there a way to use WAMPS PHP/MYSQL features with IIs instead of Apache ?

TIA

Options: ReplyQuote
Re: i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: yfastud (Moderator)
Date: January 17, 2008 02:15AM

Quote

Actually I would like to have "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
To prevent directory listing, either put the index file (index.html or index.php) in wamp/www/your_folder or change the index option in config file from + to -; for example:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName test
DocumentRoot C:/wamp/www/Test
ErrorLog c:/wamp/www/Test/logs/test_error.log
CustomLog c:/wamp/www/test/logs/test_access.log common
<Directory "C:/wamp/www/Test">
Options -Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Remember, this is just an example, not a complete working code

Quote

While I'm at it, is there a way to use WAMPS PHP/MYSQL features with IIs instead of Apache ?
Don't install wamp, but install php and mysql add-on for iis; however, I like to use wamp than iis

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: webvan (---.fbx.proxad.net)
Date: January 17, 2008 02:37AM

Thanks a bunch, in the meantime I found i could have an .htaccess file with Options -Indexes in it to prevent directory listing.

On a related matter, I was wanting to add a password to protect the
\www\maps directory but I seem to be having an odd problem with "Internal Server Error" event though I followed a tutorial to create a .htaccess and .htpasswd file I'm thinking I maybe have the path wrong :

"AuthUserFile /maps/.htpasswd
AuthGroupFile /dev/null
AuthName "Private"
AuthType Basic

<Limit GET>
require valid-user
</Limit>"

I tried with /www/maps/.htpasswd but same problem

Am I missing something obvious ?

TIA

Options: ReplyQuote
Re: i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: yfastud (Moderator)
Date: January 17, 2008 04:45AM


Options: ReplyQuote
Re: i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: webvan (---.fbx.proxad.net)
Date: January 17, 2008 12:01PM

Ah the full path, like c:\www\maps ! it works, thanks.

Options: ReplyQuote
Re: i installed wamp server in my system, but i tried run using localhost but i am getting error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Posted by: yfastud (Moderator)
Date: January 17, 2008 03:18PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.