Fix 403 error for fresh wamp installations

Results 1 to 6 of 6
  1. #1
    very green greenelfx is offline
    MemberRank
    Jul 2011 Join Date
    1,323Posts

    Fix 403 error for fresh wamp installations

    Locate the following:


    Open the file, control+f, locate
    Code:
    <Directory "c:/wamp/www/">
    ..
    ..
    </Directory>
    Replace that block with
    Code:
    <Directory "c:/wamp/www/">
        #
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        #
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        #
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        #
        Options Indexes FollowSymLinks
    
        #
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        #
        AllowOverride all
    
        #
        # Controls who can get stuff from this server.
        #
    
    #   onlineoffline tag - don't remove
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    Other possible errors:
    Search for "ServerName"
    It should be:
    Code:
    ServerName localhost:80
    Search for "<Directory />"
    It should be:
    Code:
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>
    Last edited by greenelfx; 06-07-13 at 04:14 PM.


  2. #2
    Account Upgraded | Title Enabled! Zydee is offline
    MemberRank
    Jul 2013 Join Date
    725Posts

    Re: Fix 403 error for fresh wamp installations

    I tried this but still no fix :P

  3. #3
    Enthusiast stevnnnn is offline
    MemberRank
    Apr 2009 Join Date
    43Posts

    Re: Fix 403 error for fresh wamp installations

    Quote Originally Posted by Zydee View Post
    I tried this but still no fix :P
    What does your .htaccess file look like ?

  4. #4
    very green greenelfx is offline
    MemberRank
    Jul 2011 Join Date
    1,323Posts

    Re: Fix 403 error for fresh wamp installations

    Quote Originally Posted by Zydee View Post
    I tried this but still no fix :P
    Some CMS's, such as MapleSyrup, have a bad .htaccess, which causes a 403/500 error. Post the contents of your .htaccess file here (or delete it altogether).

    Edit: Fixed zydee's problem. See the edit, under "other problems."
    Last edited by greenelfx; 06-07-13 at 04:14 PM.

  5. #5
    Apprentice DupeX is offline
    MemberRank
    Aug 2013 Join Date
    12Posts

    Re: Fix 403 error for fresh wamp installations

    Quote Originally Posted by greenelfx View Post
    Locate the following:







    Open the file, control+f, locate
    Code:
    <Directory "c:/wamp/www/">
    ..
    ..
    </Directory>
    Replace that block with
    Code:
    <Directory "c:/wamp/www/">
        #
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        #
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        #
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        #
        Options Indexes FollowSymLinks
    
        #
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        #
        AllowOverride all
    
        #
        # Controls who can get stuff from this server.
        #
    
    #   onlineoffline tag - don't remove
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    Other possible errors:
    Search for "ServerName"
    It should be:
    Code:
    ServerName localhost:80
    Search for "<Directory />"
    It should be:
    Code:
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>
    please can you team viewer me ? i dont get it.

  6. #6
    Valued Member KayVan is offline
    MemberRank
    May 2013 Join Date
    126Posts

    Re: Fix 403 error for fresh wamp installations

    Quote Originally Posted by DupeX View Post
    please can you team viewer me ? i dont get it.
    Look for Deny from All, change it to Allow from All. Then restart the services.



Advertisement