Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-05-2004, 12:48 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Tampere, Finland
Distribution: Gentoo 2004.3, Ubuntu
Posts: 15

Rep: Reputation: 0
Question Apache 2 vhost and permissions


I'm having a (in my opinion) weird problem on Red Hat 9 with Apache 2. I'm using the VirtualHost directive to host a number od websites, yet I'd sure like to keep the files unreadable by other ssh users. I'm some cases I've achieved this, but in some I have not. Here's how it goes:

Let's take the users sarment and server for example. Their home directories are /home/users/s/[sarment|server], respectively. Both the directories have public_html folder where the sites are kept.

Permissions are, for home directories 711, and for public_html folders 710.

Now the weird thing is that when I enter the address for sarment, everything works brilliantly. For server, I get 403 Forbidden. In my httpd.conf the VirtualHost directives are set to be exactly the same, expect in the directories.

Any help, please?

EDIT: And just to make it more clear.. What I'm hunting for is a way to have Apache display those sites properly, but at the same time make sure users cannot access the source codes of other users.

Last edited by basse-; 04-05-2004 at 12:55 AM.
Old 04-05-2004, 07:48 AM   #2
LQ Newbie
Registered: Mar 2004
Location: Tampere, Finland
Distribution: Gentoo 2004.3, Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0


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
apache vhost problem jelgavchik Linux - Software 4 04-27-2008 04:45 PM
Apache ssl on only *one* vhost belorion Linux - Networking 1 12-01-2005 03:59 PM
Apache: Alias is working on ssl vhost but not on mass vhost jonavogt Linux - Software 0 06-07-2005 02:05 PM
vhost in apache jelgavchik Linux - Networking 3 02-07-2005 06:41 PM
apache 1.3 vhost z4Rilla Linux - Software 0 08-03-2003 06:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 AM.

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
Open Source Consulting | Domain Registration