Fedora Linux Support Community & Resources Center
  #1  
Old 12th April 2012, 12:35 AM
smilingfrog Offline
Registered User
 
Join Date: Apr 2012
Location: BC
Posts: 3
linuxubuntufirefox
Trying to understand httpd configuration...

Hi all,
I have just installed fc16 on my laptop for the very first time. I have been using the laptop as a development webserver from home using ubuntu 10.04, and I have wanted to find a different distro.

I have been having troubles with httpd configuration (apache). Most of this is certainly just the learning curve of moving distros, and not being familiar with configurations. There are many threads detailing similar problems that I have been having getting the server up and running, namely not being able to set VirtualHosts to the /home/<user> sub-directories.

I have come up with two questions, that hopefully have simple answers:
1. What is iptables.service, and is it ok to stop if you are on a laptop, and not always behind a firewall?
2. What are SELinux security settings, and what does the output from ls -Z mean?
Reply With Quote
  #2  
Old 12th April 2012, 12:56 AM
pete_1967 Offline
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 4,328
linuxfirefox
Re: Trying to understand httpd configuration...

http://docs.fedoraproject.org/en-US/index.html
__________________
A Drink is Not Just For Christmas - SaskyCom :thumb:


“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
  #3  
Old 12th April 2012, 12:56 AM
smilingfrog Offline
Registered User
 
Join Date: Apr 2012
Location: BC
Posts: 3
linuxubuntufirefox
Re: Trying to understand httpd configuration...

And as a followup, I have been able to get apache to see the files in my home directory, but only if I use
Code:
chcon -t httpd_sys_content_t filename
for each and every file in the tree.

Is there a shortcut for this so that I don't have to set this flag with every file I create?
Reply With Quote
  #4  
Old 16th April 2012, 07:31 AM
zharkikh Offline
Registered User
 
Join Date: Apr 2012
Location: Salt Lake City
Posts: 7
windows_7firefox
Re: Trying to understand httpd configuration...

Quote:
Originally Posted by smilingfrog View Post
And as a followup, I have been able to get apache to see the files in my home directory, but only if I use
Code:
chcon -t httpd_sys_content_t filename
for each and every file in the tree.

Is there a shortcut for this so that I don't have to set this flag with every file I create?
There is a special content to allow access to the user data:

sudo setsebool -P httpd_read_user_content 1
Reply With Quote
Reply

Tags
configuration, httpd, understand

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd.conf configuration ashiers Servers & Networking 9 13th January 2008 07:46 PM
HTTPD configuration cdawley4 Using Fedora 4 21st July 2005 06:34 PM


Current GMT-time: 11:56 (Tuesday, 21-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Pecs - Trindade Photos on Instagram - Kudat