Why Do I Get a 403 Error After an Uninstall of Drupal?
A 403 server response occurs when you do not have permissions to browse a directory or view a file on a Web server. When you uninstall Drupal, you remove the files in the Drupal directory, so when a user accesses the directory and tries to browse, a 403 error occurs.
-
Purpose
-
A 403 error indicates a permission error, so you know the issue is based on the server and not with the user's software or operating system. The 403 verbiage shown to the user is "Forbidden," which tells the user that the webmaster must be contacted to fix the problem. The issue can be with the user account permissions or with the group in which the user account is categorized.
Troubleshooting
-
Typically, a 403 error occurs when directory browsing is turned off. When the user accesses a directory, no default page is specified, so the user is given the error, because the directory files cannot be browsed. You can troubleshoot the issue by adding a default page on the directory and checking the server's directory "Browse" settings in the "http.conf" file.
Fixes
-
The only way to fix a permission error is to figure out the permission settings for the user and change the user's permissions for the file or directory. All anonymous Web users need read-only permissions to view your Web pages. If an application runs on the server, the user needs execute permissions.
Considerations
-
Avoid giving anonymous users "write," or "modify," permissions on your Web server. This permission allows users to modify files and upload files to a directory, and is typically given to folders in which users upload files such as avatar images.
-