Click to See Complete Forum and Search --> : Apache Problems


chadypu
08-20-2003, 06:47 PM
i used php triad to install my sql and apache and whatnot...

i cant go to localhost and view my files

when i go to "http://localhost/index.php" it goes to some thing about php triad

if i go to "http://localost/test.php" it just has a dns error

sometimes it will have a internal server error saying i need to reconfigure something in the apache config docs

i looked through them and i dont see what i should change
ive tried everything and i cant seam to fix it

what should i do?

and yes apache is running :p

AdamBrill
08-21-2003, 08:16 AM
Make sure you set the ServerRoot and DocumentRoot in httpd.conf
Example of ServerRoot:

ServerRoot "C:/Program Files/Apache Group/Apache/"

Obviously change that to the location of your server. ;)
Example of DocumentRoot:

DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/public_html"

Whatever you type in there will be where it is trying to pull it from if you just type in http://localhost/. I think the default is:

DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"

Remember to reset your server before any of the new settings take effect...