Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    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
    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.

    Thanks .

  2. #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,662 Times in 2,631 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?

    Oh yes, I forgot to mention.
    This isn't a PHP problem, so I'm moving it to other server side issues.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts