Page 1 of 1
newbie: apache: won't display my files
Posted: Sun Mar 21, 2004 3:09 pm
by thomasd1
localhost won't display my files in htdocs, only the page you get when apache is just installed
I only get the page that says
If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
i know it's gonna be something stupid
Posted: Sun Mar 21, 2004 3:49 pm
by PrObLeM
obviously your files are in the wrong directory
Posted: Sun Mar 21, 2004 4:08 pm
by thomasd1
they are in C:\Program Files\Apache Group\Apache2\htdocs
Posted: Sun Mar 21, 2004 4:19 pm
by thomasd1
this is in httpd.conf:
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
Posted: Mon Mar 22, 2004 9:44 am
by Draco_03
why having such a hard time.. i suggest easyphp.org.. .. like it s name you need about 23sec and a half to get it running...
Posted: Mon Mar 22, 2004 12:21 pm
by thomasd1
but then i got to restart all over ...
Posted: Mon Mar 22, 2004 12:59 pm
by Draco_03
?restart your work ? not really you just have to copy your folder (where all you php work is) and past it in the www folder that get created when you iunstall easyphp.. that s it
then you go in localhost of your machine and POP it works

Posted: Mon Mar 22, 2004 6:34 pm
by thomasd1
is it only in french?
(it's such a discusting language!!)
Posted: Sat Mar 27, 2004 3:11 pm
by Steveo31
You can change it to english. Your files need to be in the www folder.
Try deleting the index file.
Posted: Sat Mar 27, 2004 9:20 pm
by Brian
Apache looks for default files--also known as index files--in a particular order according to its configuration. For example, it may be set to look for index.html then index.htm then index.php, etc. Once it finds a match, it stops. If Apache's placeholder index file has a higher-priority extension than your file, you will see it instead of your file. If that is your problem, the solution is simple: delete Apache's placeholder file. You can also change the priority order.