View previous topic :: View next topic |
Author |
Message |
shadowteller n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Oct 2004 Posts: 27 Location: Logan, UT
|
Posted: Thu Nov 25, 2004 6:22 am Post subject: Partial Subdomain Error |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bravecobra Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/11480802993eb5bc7c4944b.gif)
Joined: 26 Dec 2002 Posts: 130 Location: Planet Earth (sometimes)
|
Posted: Thu Nov 25, 2004 8:28 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Thu Nov 25, 2004 9:54 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
shadowteller n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Oct 2004 Posts: 27 Location: Logan, UT
|
Posted: Thu Nov 25, 2004 6:17 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|