Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-01-2010, 05:56 PM   #1
LQ Newbie
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
Question How would you ( I ) enable sam to publish web pages from his ~/website dir. but not

How would you ( I )enable sam to publish web pages from his ~/website directory but not allow anyone else to publish to the web?
I am trying to do this in Fedora. Or should i do this through Apache?

Last edited by kind_aj; 12-01-2010 at 05:59 PM. Reason: needed to add which version i was using.
Old 12-01-2010, 06:05 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
You could just add an Alias and Directory directive to your site

Alias /sam /home/sam/website
<Directory /home/sam/website>
    Options ...
    Order allow,deny
    Allow from all
<edit> if you're running Fedora please be aware that selinux will deny access to user home directories by default </edit>

Last edited by kbp; 12-01-2010 at 06:07 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
publish a website on local server hussain6001 Linux - Networking 8 09-27-2010 10:14 AM
How to download web pages from a website using wget command Fond_of_Opensource Linux - Newbie 5 07-05-2006 09:50 AM
How to publish a website? vivekr Programming 4 06-04-2006 03:21 PM
how to let linux publish my website? sorno Linux - Newbie 11 07-01-2005 09:59 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration