How can I set a custom error page on Scripts?
If you want to make Scripts use a customized error page for a 404 (File Not Found) error, you need to place the following lines in your .htaccess file:
ErrorDocument 404 /~lockername/404.html
Remember to replace lockername with the name of your locker, and 404.html with the location of the customized error page.
If you have additional error pages, create an additional line for each error code. Typical error codes include 401 (Unauthorized) and 403 (Forbidden).
Previous: | Is Java supported? |
Next: | What are scripts.mit.edu security updates? |
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact scripts@mit.edu.
You are currently connected to busy-beaver.mit.edu.