Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache server not able to load my files in htdocs directory |
|
Author |
|
vitalstrike82
Joined: 01 Feb 2009 Posts: 1
|
Posted: Sun 01 Feb '09 19:27 Post subject: Apache server not able to load my files in htdocs directory |
|
|
Greetings, i'm using slackware as my os.
Recently i have just install apache server 2.2.11 on my machine.
After installing, i manage to start the server. Yes the server is running and it displays the words: 'It works!!!'
I have check that the index.html is inside the this path /usr/local/apache2/htdocs
Next i create a new file call hello.html. However apache cannot find the page when i run on localhost: http://localhost/hello.html
it displays: The requested URL /hello.html was not found on this server.
What have i miss?
Thanks for the help in advance |
|
Back to top |
|
icefresh
Joined: 21 Feb 2009 Posts: 7 Location: UK
|
Posted: Tue 24 Feb '09 15:08 Post subject: |
|
|
Hi
Unless you have changed the value of the "DocumentRoot" in the "/etc/httpd/httpd.conf", the Slackware default is "/var/www/htdocs". |
|
Back to top |
|
|
|
|
|
|