LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Question Apache 2 vhost and permissions


Hello,

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 01:55 AM.
 
Old 04-05-2004, 08:48 AM   #2
basse-
LQ Newbie
 
Registered: Mar 2004
Location: Tampere, Finland
Distribution: Gentoo 2004.3, Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
Anyone?
 
  


Reply


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


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

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