Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-21-2004, 08:25 PM   #1
LQ Newbie
Registered: Jun 2004
Distribution: Mandrake
Posts: 7

Rep: Reputation: 0

Hi there,

I just set up a virtual host that I thought worked.

Except, even though I have an index file in my one directory it still comes up as forbidden. Is it because it's linked to a users home directory? Is there something else I have to do?
Old 06-21-2004, 10:29 PM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50

to check whether your virtual hosts are detected properly and that your config is ok
Old 06-22-2004, 05:23 AM   #3
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
Yes, it could be because the virtual host is linked to a user's home directory. Make sure the home directory is readable by the httpd user which may be www-data, nobody or http depending on your distro.

Also make sure you've properly set up permissions in httpd.conf to allow yourself access to the directory.


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
Postifx and VirtualHost maginotjr Slackware 3 12-05-2005 09:28 AM
Apache -VirtualHost davidhk Debian 7 08-19-2005 12:33 PM
VirtualHost settings tommytomato Linux - General 5 08-17-2004 11:12 PM
virtualhost behind NAT treotan Linux - Networking 2 08-05-2004 10:14 AM
apache virtualhost jonfa Linux - Networking 5 08-12-2002 06:07 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration