Original: PHP Error: Forbidden You do have permission to access/on the this server.
Today boss let in XP build an FTP server, twists, finally finally in the boss's help to fix ...
Which is accessed via IP when prompted Forbidden you do not have permission to access/on the this server.
To find a workaround, hereby record
PHP configuration file httpd.conf.
Locate the configuration section in the original location file
<directory/> Options followsymlinks allowoverride None Order deny,allow from all Satisfy</Directory>
Modified into
<directory/> Options followsymlinks allowoverride None Order deny,allow# from all from all# allows all access to Satisfy all</Directory>
And also
<directory"d:/wamp5/www"># # Possible Values forThe 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 isboth complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options# forMore information. # Options Indexes followsymlinks # # AllowOverride Controls what directives could be placedinch. htaccess files. # It can be" All","None", or any combination of the keywords: # Options FileInfo authconfig Limit # allowoverride All # # Con Trols who canGetStuff from Thisserver. # # Onlineoffline Tag-Don'T RemoveOrder Deny,allow Deny from all allow from 127.0.0.1</Directory>
Modified into
<directory"d:/wamp5/www"># # Possible Values forThe 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 isboth complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options# forMore information. # Options Indexes followsymlinks # # AllowOverride Controls what directives could be placedinch. htaccess files. # It can be" All","None", or any combination of the keywords: # Options FileInfo authconfig Limit # allowoverride All # # Con Trols who canGetStuff from Thisserver. # # Onlineoffline Tag-Don'T RemoveOrder deny,allow# Deny fromall# Allow from 127.0.0.1 Allow from All</Directory>
Then save, restart the service, and fix the problem on the access.
PHP Error: Forbidden you had permission to access/on the this server.