Forum Moderators: phranque
I have been using linux for a few days and have been trying to work out how to use Apache. I haven't been lazy and have started to work my way through some online guides.
However, I just can't find the directory for .html files and how to point my browser to this directory. Can someone enlighten me please.
This might seem basic, but is bugging the hell out of me!
Thanks,
James
Assuming that apache is installed correctly and is running :
ps -ef ¦ grep httpd
should return a number of instances of httpd
You should also see the defauly apache welcome page when you connect to your site.
Check your httpd.conf file and look at what DocumentRoot is set to.
This is the directory that your browser will be pointed to when it goes to your site and so this is where you should keep your html files.
If have a page called index.html, this will be loaded automatically when you connect.
Good luck