Hi,
Actually i want my web page to run on apache server.(Ex: hello.html)
i want it to get it accesed from the same system in whic i have my apache server
Ex: http://localhost/Mywebsite 
   then i need to get my webpage (hello.html)
I have checked the Document root and placed my hello.html in that directory.
i.e d:/apache2/htdocs
and tried accessing http://localhost/hello.html
http://localhost/htdocs/hello.html
but the page couldnt be served.
This is the problem
 
 
 
 
 
 
 
 


Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> wrote:
Hey guys, wake up!

Where do you think Mohan got the HTTP 404 from???

There are two possibilities:
1. It was the apache httpd server that actually served the HTTP 404 in which case Mohan did not put the file in the right place. Check the DocumentRoot and make sure the file is in that directory
2. The apache httpd did not serve the HTTP 404. That means that there is another http server running on the host and apache probably failed to start because it tried to bind a port already bound.

IN any event the Apache logs will give you the answer. When you have a problem, that's always the first thing you should check. Verify the values of ServerRoot and TransferLog/CustomLog/ErrorLog. That will tell you where the log files are located. The ErrorLog will tell you whether apache was started or fail ed to start. Supposing it was Apache that returned the HTTP 404, it will also tell you where it tried to find the file.


BR
-ascs

-----Original Message-----
From: gayatri sekhar [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 8:46 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..


check for port number in httpd.conf
normal default is 7777
in that case you should use localhost:7777
OR
change the port to 80 in httpd.conf


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]
Sent: Friday, January 27, 2006 8:18 AM
To: users@httpd.apache.org
Cc: mohan devanoor
Subject: Re: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..

If the apache server is running on the same machine you are trying to access it from, using localhost should do the trick. Have you confirm ed that the httpd process is running? Some system information would be helpful as well.

James

-----Original Message-----
From: mohan devanoor [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 8:13 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..


hi sanjay , i have put it.
but how to access.
i have tried
http://localhost/hello.html
http://localhost/htdocs/hello.html

HTTP 404 - File not found
Internet Explorer is displayed.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

Reply via email to