Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Problem with wamp sever
04-22-2009, 07:11 AM #1
- Join Date
- Jul 2008
- Thanked 0 Times in 0 Posts
Problem with wamp sever
i installed wamp in my local server system.It worked fine .But i am getting some problems in that.
After installed the wamp server i changed the port number as 81 because my IIS port number is 80.
When i give the url as http://localhost:81/ it worked fine and opened the wamp server index page.
In localhost place i replaced the my server ip address as http://188.8.131.52:81/
it shows the error message
You don't have permission to access / on this server.".
Any body could you please tell the solution how can i resolve the problem.
04-22-2009, 07:22 AM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,650 Times in 2,619 Posts
If you have an .htaccess file, thats controlling it.
Default would be to drop anything non-local, I would suspect. What you're receiving is a message because you do not allow directory listings externally. If you put an index.[html|php whatever] on there, it should still display that page.
You're options are to modify you're httpd.conf file to enable directory listings, or to add a rule in a .htaccess. This is unreliable unless you're provided IP is static. You could open this up completely to allow everyone directory listings, but I wouldn't do that.
Do you have a reason to be using the ip address instead of a loopback address?
header('HTTP/1.1 420 Enhance Your Calm');