Im a linux beginner. about a year ago I managed to set up a dedicated server to host my game servers and my website. Starting with a barebones centos instalation I had to install everything myself. I use apache2, oracle db, php and java for my game servers. The server has been running happely all these months without a restart. And of course noob as I am I dont have any startup scripts installed.
A week ago my oracle db dies! (or so I thought). Freaking out a bit becuase my game servers and highscore pages on my website stopped working I restarted my box for the first time. (Later I realised that the oracle db was infact fine and the problem was that the db user account that EVERYTHING was using password expired ^^). When i went to my website after the restart it gave me the "apache succussfully installed" default page. I saw on that page that for some reason the websites path on the harddrive has changed. It was /usr/local/apache2/htdocs but now after the restart its at /var/www/html. So to just went and copied everything from the old location to the new. My website worked again but php did not... It took me freaking forever to get apache+php+oracle db to play together nicely the first time so i wasnt very pleased
Is there any other way to get apache to parse html pages as if they were .php? Does things not working maybe have anything to do with my websites path changing? Anything else?
Thnx in Advance!






