You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This part `/tests/httperror` will need editing depending on how you set up the local server.
129
130
131
+
### Optional Editing
132
+
133
+
The file `/errpages/httperror.json` contains the *known* HTTP error status codes and associated messages:
134
+
135
+
```json
136
+
{
137
+
"400": ["", "400 - Bad Request","The syntax of the URL submitted by your browser could not be understood. Please verify the address and try again."]
138
+
,"401": ["", "401 - Unauthorized", "This section requires a password or is otherwise protected. If you feel you have reached this page in error, please return to the login page and try again, or contact the webmaster if you continue to have problems."]
139
+
,"403": ["", "403 - Forbidden", "This section requires a password or is otherwise protected. If you feel you have reached this page in error, please return to the login page and try again, or contact the webmaster if you continue to have problems."]
140
+
,"404": ["", "404 - Not Found", "The requested resource could not be found on this server. Please verify the address and try again."]
141
+
,"405": ["", "405 - Method Not Allowed", "The request method is known by the server but has been disabled and cannot be used."]
142
+
}
143
+
```
144
+
145
+
Edit as necessary. Status codes can be added, removed, or edited.
146
+
130
147
## It Lives!
131
148
132
149
Most internet web servers have a *common* location for website files. It's typically located at `/home/$USER/public_html`. Where **`$USER`** is the *user* that owns the `public_html` folder. Depending on your server's particular configuration that folder may be named differently or in a different location.
0 commit comments