tags:

views:

22

answers:

0

I installed Apache on my Ubuntu server, and when it installed, it created a directory ~/Apache/ with directories such as htdocs, logs, cgi-bin, etc. I was then able to create several pages and scripts which I placed into the corresponding directories (~/Apache/htdocs, ~/Apache/cgi-bin), and I was able to serve these files on the web.

Unfortunately, my server had an unexpected hard restart, and since then, it seems like the files aren't being served. The server is still up, but when I navigate to the URL, I get a page that says "It works!" instead of what was expected.

Does anyone know how I can get Apache to serve from ~/Apache/htdocs again? I tried to RTFM and Google for an answer already but it wasn't very helpful.