- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what should be the permission on httpd file
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-22-2010 12:20 AM
тАО03-22-2010 12:20 AM
what should be the permission on httpd file
I am starting to install 2 instance of apache on HPUX. but while trying to run frm normal user its showing permission denied ...nd if tried to change the permission its showing httpd not a owner.
Tx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 12:32 AM
тАО03-22-2010 12:32 AM
Re: what should be the permission on httpd file
>I am starting to install 2 instance of apache on HPUX.
First of all, you should configure the 2 instances to each listen on different port (let's say one on 80 another on 8080).
Regarding permissions: You should always run the httpd daemon as root user and use the
User/Group configuration directives.
You can implement also 1 virtual server, which is a better solution than running 2 instances.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 12:32 AM
тАО03-22-2010 12:32 AM
Re: what should be the permission on httpd file
can you start using "root" ...? also it would be better if you could post permission
ls -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 12:37 AM
тАО03-22-2010 12:37 AM
Re: what should be the permission on httpd file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 12:37 AM
тАО03-22-2010 12:37 AM
Re: what should be the permission on httpd file
that possible, if you create a some user, for example :
apache2
you could install a new web server under this user, if the server will have the same ip as you first web server, you need to use a different port number.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 12:59 AM
тАО03-22-2010 12:59 AM
Re: what should be the permission on httpd file
Once Apache has started and claimed the port as root, it can then switch to a safe non-root userID. The Apache processes that actually service the clients' requests should *never* run as root.
And by the way: "install 2 instances of Apache" may mean different things.
It might mean you're trying to run 2 copies of the Apache process (obviously with different configurations, as at least the port number(s) must be different) using the same version of the Apache binary. This does not require making new copies of the Apache binary files: just start Apache twice, using the command line options to give each instance a different configuration file.
Or you might be trying to run 2 different versions of Apache simultaneously (for testing perhaps?). In this case, two Apache/httpd binaries are necessary.
MK