Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with wamp sever

    Hi,


    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://211.192.90.123:81/
    it shows the error message
    "Forbidden
    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 .
    Swetha

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 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?

    Edit:
    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'); 


  •  

    Posting Permissions

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