I'm currently using Cloud9 to build a website.
Now, I was wondering if I could set my own 404 not found page.
I tried using a .htaccess file with the code ErrorDocument 404 /404.html
in it.
Also, I tried using this command in the commandline at the bottom of the screen, when you run the app (website).
Anyone has any suggestions?
The ErrorDocument directive you listed should basically do it. Follow these steps:
ErrorDocument 404 /404.html
Hi mom!
run-apache2
in the terminal, or use the "Run Project" button if your project is setup to use Apache by defaulthttps://
workspace-
username.c9.io/bla
. Watch her reaction.