Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partial Subdomain Error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
shadowteller
n00b
n00b


Joined: 01 Oct 2004
Posts: 27
Location: Logan, UT

PostPosted: Thu Nov 25, 2004 6:22 am    Post subject: Partial Subdomain Error Reply with quote

What am I doing wrong I keep getting a 403 Forbidden error on the named subdomain. My vhosts.conf looks like this.

Quote:

NameVirtualHost *:80

#################Main Page ###WORKS###
<VirtualHost *:80>
ServerName www.fp.org
ServerAlias www.fp.org
DocumentRoot /var/www/localhost/htdocs
</VirtualHost>

################Forums Page ###WORKS###
<VirtualHost *:80>
ServerName forums.fp.org
ServerAlias www.fp.org
DocumentRoot /var/www/localhost/htdocs/phpBB
RedirectPermanent /phpBB http://forums.fp.org
</VirtualHost>

################USER 1 ###!!!BROKEN!!!###
<VirtualHost *:80>
ServerName johndoe.fp.org
ServerAlias www.fp.org
DocumentRoot /home/jdoe/www
</VirtualHost>


I do have the user directoryy set up in that directory path too with the current permission being 777 (testing purposes only). SO what is wrong?
Back to top
View user's profile Send private message
bravecobra
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2002
Posts: 130
Location: Planet Earth (sometimes)

PostPosted: Thu Nov 25, 2004 8:28 am    Post subject: Reply with quote

Other than the part you posted this in the wrong forum, you would have to grant access to the /home/jdoe/www directory. By default the server has no access to any directory as per security.
Add this:
Code:
<Directory /home/jdoe/www>
  Order allow,deny
  Allow from all
</Directory>

_________________
Brave Cobra
http://www.bravecobra.com
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Thu Nov 25, 2004 9:54 am    Post subject: Reply with quote

Moved from Documentation, Tips & Tricks. Please do not post support requests there.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
shadowteller
n00b
n00b


Joined: 01 Oct 2004
Posts: 27
Location: Logan, UT

PostPosted: Thu Nov 25, 2004 6:17 pm    Post subject: Reply with quote

bravecobra wrote:
Other than the part you posted this in the wrong forum, you would have to grant access to the /home/jdoe/www directory. By default the server has no access to any directory as per security.
Add this:
Code:
<Directory /home/jdoe/www>
  Order allow,deny
  Allow from all
</Directory>



My apologies for posting in the wrong forum...it was late.

Anyways where exactly to I add that into my vhosts.conf?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum