You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Pruim <ja...@raoset.com> on 2008/09/29 13:59:18 UTC
[users@httpd] Question about virtual hosts
Good morning everyone!
I am attempting to setup an apache 2.2 server and I am getting a
"forbidden You do not have permission to access / on this server" error.
This is the first time I have setup apache by hand (Always had some
form of a control panel) and I'm wondering if someone would be able to
take a look at my virtual host block and tell me if it looks right?
<VirtualHost *:80>
ServerAdmin webmaster@pruimphotography.info
DocumentRoot /home/jason.pruim/pruimphotography.info
ServerName dev.pruimphotography.info
ErrorLog /home/jason.pruim/pruimphotography.info/logs/error_log
CustomLog /home/jason.pruim/pruimphotography.info/logs/
access_log common
</VirtualHost>
the folder pruimphotography.info exists. and my log files are actually
being written... Just can't view the stinking page :)
Any ideas?
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
japruim@raoset.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Question about virtual hosts
Posted by Eric Covener <co...@gmail.com>.
> <VirtualHost *:80>
> DocumentRoot /home/jason.pruim/pruimphotography.info
> common
> </VirtualHost>
Copy the <Directory> container for your original document root to
allow Apache to serve files from somewhere else.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Question about virtual hosts
Posted by André Warnier <aw...@ice-sa.com>.
Jason Pruim wrote:
> Good morning everyone!
>
> I am attempting to setup an apache 2.2 server and I am getting a
> "forbidden You do not have permission to access / on this server" error.
>
> This is the first time I have setup apache by hand (Always had some form
> of a control panel) and I'm wondering if someone would be able to take a
> look at my virtual host block and tell me if it looks right?
>
Try this :
> <VirtualHost *:80>
> ServerAdmin webmaster@pruimphotography.info
> DocumentRoot /home/jason.pruim/pruimphotography.info
> ServerName dev.pruimphotography.info
> ErrorLog /home/jason.pruim/pruimphotography.info/logs/error_log
> CustomLog
> /home/jason.pruim/pruimphotography.info/logs/access_log common
<Directory />
Options none
order allow,deny
deny from all
</Directory>
<Directory /home/jason.pruim/pruimphotography.info>
order allow,deny
allow from all
Options Indexes
</Directory>
> </VirtualHost>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org