LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 08-02-2005, 10:27 PM   #1
critical
Member
 
Registered: Feb 2005
Location: New Zealand
Distribution: Debian, Ubuntu
Posts: 46

Rep: Reputation: 15
Arrow Apache VirtualHosts and VSFTPd


Hey there guys


Basic Problem:

Apache + Virtualhosts + VSFTPd = 403 Forbidden



Detailed Problem:

I currently have a few Virtualhosts setup which all run fine from /var/www

website1.com = /var/www/web1/
website2.com = /var/www/web2/
website3.com = /home/pakage/public_html/

website3.com isn't mine.. and I want to setup FTP access so that my friend can access it... and in the future I want to setup other people aswell..

Apache runs with the username "www-data" on my server.

When I try and access website3.com I get "You don't have permission to access /index.html on this server."

In the error logs I get this

[Wed Aug 3 15:56:35 2005] [error] [client 202.182.209.2] (13)Permission denied: access to /index.html failed because search permissions are missing on a component of the path



Workarounds I have tried:

1. Tried adding a "User pakage" in the <Virtualhost> segment of httpd.conf which didn't appear to change things

2. Tried using chown&chgrp on /home/pakage/public_html to manually set the owner to www-data... the permissions didn't stick and php didn't work regardless






Basically I think this is a permissions problem I think..
but I'm a noob so don't quote me on that


Cheers guys!

Last edited by critical; 08-02-2005 at 10:47 PM.
 
Old 08-02-2005, 10:49 PM   #2
critical
Member
 
Registered: Feb 2005
Location: New Zealand
Distribution: Debian, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
bump
 
Old 08-02-2005, 11:14 PM   #3
critical
Member
 
Registered: Feb 2005
Location: New Zealand
Distribution: Debian, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
Problem fixed

The problem was definately my permissions

/home/pakage/public_html has the following permissions

rwxrwx---

I changed it to

rwxrwxr-x

Now I have another problem...

But I'll make a new forum =)
 
Old 09-14-2005, 02:12 PM   #4
ddlboard
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
Hi, is it possible to post a copy of your apache config file ?
Or at least the <virtual hosts> section ?
I'm having probs to setup my virtual hosts,

Thanks
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtualhosts + PHP error critical Linux - Software 3 08-03-2005 12:21 AM
Apache VirtualHosts Problem stratisphere Linux - Newbie 4 11-27-2004 12:20 AM
VirtualHosts & apache 2.0.48 TiCkO Linux - Networking 2 07-13-2004 03:20 PM
Apache + mod_ssl + virtualhosts problems rohypnol Linux - Networking 1 11-26-2003 12:48 PM
Virtualhosts in apache. where am i going wrong. SSBN Linux - Networking 20 07-11-2003 04:02 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration