When using MAMP to build a local server, after setting the ip and port properties, the browser access, reported 403 error: ForbiddenYoudonthavepermissiontoaccessonthisserver. google, stackoverflow existing class problems: stackoverflow. comquestions10873295error-message
When using MAMP to build a local server, after setting the ip and port attributes, the browser will access the server and report the error 403: Forbidden You don't have permission to access/on this server. after google, stackoverflow has a class problem: http://stackoverflow.com/questions/10873295/error-message
When a local server is built with MAMP, the browser accesses the server after setting properties such as ip address and port, and reports error 403:
Forbidden
You don't have permission to access/on this server.
After google, stackoverflow has a similar problem: http://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server
The following methods are used:
Run the following section in/Application/MAMP/conf/apache/httpd. conf:
Options FollowSymLinks
AllowOverride All
Order deny, allow
Allow from all
Set the options to: Options Indexes FollowSymLinks between des ExecCGI
Changed:
# Options FollowSymLinks
Options Indexes FollowSymLinks between des ExecCGI
AllowOverride All
Order deny, allow
Allow from all
Some people also raised the issue of access permissions, that is, the process owner has no permission to access Document root. The original statement is as follows:
Also, one shocould check the folder's permissions so that the Apache process 'owner has permissions to read/execute the specified path for the virtual host. on Windows this cocould rarely be a problem but on Linux it can be a more frequent cause of 403.
When I saw this, I thought that I had set the Document root on the desktop. When I access Document root directly, an error is returned. If you access a file in the directory, there is no problem.