localhost 403 on WAMP Server

Discussion in 'PHP' started by acevincie, Jan 10, 2012.

  1. #1
    Error on localhost

    Forbidden

    You don't have permission to access / on this server.
     
    acevincie, Jan 10, 2012 IP
  2. acevincie

    acevincie Peon

    Messages:
    148
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Solve this problem please.
     
    acevincie, Jan 10, 2012 IP
  3. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Check your .htaccess file for instructions like "deny from" or RewriteRule that ends in [-F]. This is where most 403 errors come from, but it's impossible to know for sure without examining your system.
     
    rainborick, Jan 10, 2012 IP
  4. HuggyEssex

    HuggyEssex Member

    Messages:
    297
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    45
    #4
    Could be a permission in your host file
     
    HuggyEssex, Jan 10, 2012 IP
  5. acevincie

    acevincie Peon

    Messages:
    148
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    where is .htaccess file located in Wamp Server?
     
    acevincie, Jan 10, 2012 IP
  6. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #6
    ok.. i will assume that during development your project runs on your localhost
    to troubleshoot this, first check your apache if the mod_rewrite rule is on (this is important because this extension enables the usage of your .htaccess)
     
    bartolay13, Jan 11, 2012 IP