- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cannot find html file with Apache
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2005 11:56 PM
06-16-2005 11:56 PM
cannot find html file with Apache
I've installed Apache on HP11.11 (ip : 138.203.5.235). If I type in a browser (on aPC)
the IP-address I get the default Apache page.
So to me Apache is up-and-running.
The httpd.conf contains :
DocumentsRoot "/opt/hpws/apache/htdocs".
Later I added html files to this directory and restarted Apache. For example I added a html file called "java.html". If I type in the browser : 138.203.5.235/java.html I get : The requested URL /java was not found on this server. The permissions of thsi file is the same as the files installed by Apache.
What am I doing wrong ?
Greetzz
Jan Kestens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 12:34 AM
06-17-2005 12:34 AM
Re: cannot find html file with Apache
w/out the brower, what do you get when you...
telnet 138.203.5.235 80
GET /java.html HTTP\1.1
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 12:40 AM
06-17-2005 12:40 AM
Re: cannot find html file with Apache
My thoughts:
Try another name, /java may be an alias the server uses for other purposes.
Possibly upload your httpd.conf file. I have a lot of time playing with this fileon my configuration and might be able to spot something for you.
I suggest you post your httpd.conf file to the forums, as I'm doing some language training and may get distracted from your thread.
SEP
http://www.isnamerica.com/contactsep.shtml
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 07:58 PM
06-19-2005 07:58 PM
Re: cannot find html file with Apache
Thanks for the responses, but actually it was
a mistake from my side. I copied the files
to the wrong dir.
I started from scratch, copied the files to the
correct dir and now it is working,
Greetzz
Jan K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 08:10 PM
06-19-2005 08:10 PM
Re: cannot find html file with Apache
I guess your trouble is only caused by a typo.
You said your DocumentRoot was
DocumentsRoot "/opt/hpws/apache/htdocs".
I guess Apache is upset by the redundant s between Document and Root.
Remove it and send the master httpd a SIGUSR1, or simply restart your webserver,
and retry loading the file.
Btw. you don't need to restart your webserver as long as you don't make any changes to cour config, like copying content to your DocumentRoot.
And whenever you applied changes to your conf, and something isn't working as expected, watch your error_log carefully.