[users@httpd] problem hosting a webpage in apache(asap)..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> 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:sekhar_gayatri@xxxxxxxxx]
Sent: Friday, January 27, 2006 8:46 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] 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: java_nutt@xxxxxxxxxxx [mailto:java_nutt@xxxxxxxxxxx ]
Sent: Friday, January 27, 2006 8:18 AM
To: users@xxxxxxxxxxxxxxxx
Cc: mohan devanoor
Subject: Re: [users@httpd] 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:mohan.devanoor@xxxxxxxxx]
Sent: Friday, January 27, 2006 8:13 AM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] 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: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux