- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- selinux and 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
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
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
тАО05-03-2006 06:00 AM
тАО05-03-2006 06:00 AM
selinux is anabled(required).
I have to configure the DocumenetRoot other than /var/www/html say e.g. I have to set the DocumentRoot /web/sales.
What I have to do ?
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 06:27 AM
тАО05-03-2006 06:27 AM
SolutionHere is web link for Apache configuration. http://www.siliconvalleyccie.com/linux-hn/apachebasic.htm
Apache web link look under document root
http://httpd.apache.org/docs/1.3/mod/core.html
Edit /etc/apache/httpd.conf file.
Regards,
Sung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 06:34 AM
тАО05-03-2006 06:34 AM
Re: selinux and Apache
One of the maddening issues with selinux. Is not compatible out of the box with most httpd configurations.
My response is usually to turn off selinux
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
тАО05-03-2006 06:38 AM
тАО05-03-2006 06:38 AM
Re: selinux and Apache
the first url u provided has the solution of my question.
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 07:00 AM
тАО05-03-2006 07:00 AM
Re: selinux and Apache
You set the document root in httpd.conf and then selinux will prevent the web server from starting up at that location.
Then you will be left with two alternatives.
1) Change the selinux configuration to disabled.
2) Alter the selinux config to permit httpd to run in a location otehr than /var/www/html
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
тАО05-03-2006 02:38 PM
тАО05-03-2006 02:38 PM
Re: selinux and Apache
I think u can either disable the selinux (it will cause a lot of problem later on with other applications) or u can set it as permissive. If
your concerned is on system security...U can install firestarter after disable the selinux.
Thanks & Best Regards
HM