Fedora Linux Support Community & Resources Center
  #1  
Old 11th March 2006, 05:12 AM
fastandsimple Offline
Registered User
 
Join Date: Aug 2005
Posts: 20
Problems getting apache to serve user web page

I'm new to apache and having trouble setting up directories for a user to edit web pages in FC4.

One approach was to create a link to a particular directory. In /var/www , did:
mv html html.old
ln -s /home/joe/public_html html
The link file, /home/joe/public_html, and index.html all have permission 755.
When I do this, I can't restart httpd.

The second approach is to use ~joe
In httpd.conf, I commented out
UserDir disable
and un-commented out
UserDir public_html
Gave /home/joe permission 711, and /home/joe/public_html and index.html permission 755.
I get the 403 error, "You don't have permission to access /~joe/ on this server."

Could anyone help me out with either of these approaches?
  #2  
Old 11th March 2006, 05:43 AM
smfinley Offline
Retired Community Manager
 
Join Date: Jul 2004
Posts: 1,334
See the web server section here.
__________________
Stanton Finley
stanton-finley.net
  #3  
Old 11th March 2006, 10:22 PM
fastandsimple Offline
Registered User
 
Join Date: Aug 2005
Posts: 20
Thanks, the chcon command did the trick for the second approach!
Closed Thread

Tags
apache, page, problems, serve, user, web

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
Apache Hosting User Public Html problems :S PoetGuy Servers & Networking 10 12th May 2009 02:45 AM
Apache wont serve beyond local network aldend123 Servers & Networking 5 17th January 2009 10:51 AM
Page giong blank in apache dogbone Servers & Networking 18 2nd January 2006 03:31 AM


Current GMT-time: 04:31 (Saturday, 02-08-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