- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Apache problem
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
01-31-2004 08:30 AM
01-31-2004 08:30 AM
Apache problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 08:39 AM
01-31-2004 08:39 AM
Re: Apache problem
The path you pick must also be readable by whatever user the httpd daemons are running as, usually www.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 08:46 AM
01-31-2004 08:46 AM
Re: Apache problem
/usr/local/apache/lib/htdocs.
I also put an index.html in this directory.
I remember long ago I set this up on linux and had a www directory with the "it worked" page in it but in this unix install I see no such directory or page. Should it be there by default? Maybe an install problem? I used the .depot for Apache/1.3.29 Server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 01:22 PM
01-31-2004 01:22 PM
Re: Apache problem
Or ps -ef | grep httpd
If you have processes, you have a working httpd server.
I kind of doubt it because errors are logging in the log files.
I would tend to think that permissions on index.html or the directory are not appropriate.
That document must be readable by all users. Browsers users are low priviledge other type users.
SEP
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
01-31-2004 05:55 PM
01-31-2004 05:55 PM
Re: Apache problem
Search for DocumentRoot in httpd.conf and make sure it is set to wherever your index.html is. For ex.,
DocumentRoot "/usr/local/apache/lib/htdocs"
Also make sure the user 'www' has permissions to read this directory. You can do it by logging in as 'www' and then
$cat /usr/local/apache/lib/htdocs/index.html
Restart apache (if you loaded HP's source, then it is /opt/apache/bin/apachectl start
and see if it works.
-Sri