Originally posted by PiGuy
okay, I got it working by deleting the files in the /var/www/html directory... why is this the main dir, and why does Apache tell me its in /usr/local/apache2/httpd? And now how can I change the DocumentRoot from /var/www/html to whatever I want?
There should be an Apache configuration file. It looks like Mandrake may have a different default configuration for Apache than other distros as normally with Linux the default DocumentRoot is in /var/www/hostname/htdocs
As for your question, it is common for programs on *nix based systems to store their files in different directories as each directory on the root partition has it's own purpose.
/usr/local/apache2/httpd refers to the daemon itself.
If you wish to change the DocumentRoot you can edit your apache configuration file. The name is apache2.conf and it should be somewhere in your /etc directory. Try looking in the /etc/apache2 or /etc directories and if apache2.conf doesn't exist do this :
find /|grep apache2.conf