You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tomas <to...@tlec.se> on 2008/02/28 11:09:38 UTC
[users@httpd] 403, no permissions, Why?
Dear group.
I'm trying to setup an apache server with mod-python.
suddenly I get 403 on all virtual servers.
httpd.conf looks like this, apart from pure standard
<VirtualHost *>
DocumentRoot /var/www/DBC
ServerName trac.dbc-system.com
<Directory />
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/DBC
PythonOption TracUriRoot /
PythonDebug on
</Directory>
<Directory /login>
AuthType Basic
AuthName "DBC-System Dev Server"
AuthUserFile /var/trac/DBC/.htpasswd
Require valid-user
</Directory>
</VirtualHost>
<VirtualHost *>
DocumentRoot "/var/www/default"
ServerName test.dbc-system.com
<Directory "/var/www/default">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
What have I forgot?
With best regards
Tomas Larsson
TL Engineering & Consultants
Engelbrektsgatan 121
SE 506 39 Borås
Sweden
+46 739 932 673
http://www.tlec.se
Verus Amicus Est Tamquam Alter Idem
---------------------------------------------------------------------
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] 403, no permissions, Why?
Posted by Tomas <to...@tlec.se>.
Thanks, that solved that problem
With best regards
Tomas Larsson
TL Engineering & Consultants
Engelbrektsgatan 121
SE 506 39 Borås
Sweden
+46 739 932 673
http://www.tlec.se
Verus Amicus Est Tamquam Alter Idem
> -----Original Message-----
> From: Boyle Owen [mailto:Owen.Boyle@swx.com]
> Sent: Thursday, February 28, 2008 1:47 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] 403, no permissions, Why?
>
> > -----Original Message-----
> > From: Tomas [mailto:tomas@tlec.se]
> > Sent: Thursday, February 28, 2008 12:07 PM
> > To: users@httpd.apache.org
> >
> > Now I changed the server document root from /var/www/default to
> > /var/www only, now I can access the server BUT If I type
> > test.dbc-system.com I still end up in trac.dbc-system.com,
> I thought
> > that the correct virtual server was supposed to start
> depending on the
> > url.
>
> See http://httpd.apache.org/docs/2.2/mod/core.html#namevirtualhost
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>
> >
> > With best regards
> >
> > Tomas Larsson
> > TL Engineering & Consultants
> > Engelbrektsgatan 121
> > SE 506 39 Borås
> > Sweden
> >
> > +46 739 932 673
> >
> > http://www.tlec.se
> >
> >
> > Verus Amicus Est Tamquam Alter Idem
> >
> >
> >
> ---------------------------------------------------------------------
> > 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
> >
>
>
> This message is for the named person's use only. It may
> contain confidential, proprietary or legally privileged
> information. If you receive this message in error, please
> notify the sender urgently and then immediately delete the
> message and any copies of it from your system. Please also
> immediately destroy any hardcopies of the message. The
> sender's company reserves the right to monitor all e-mail
> communications through their networks.
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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] 403, no permissions, Why?
Posted by Boyle Owen <Ow...@swx.com>.
> -----Original Message-----
> From: Tomas [mailto:tomas@tlec.se]
> Sent: Thursday, February 28, 2008 12:07 PM
> To: users@httpd.apache.org
>
> Now I changed the server document root from /var/www/default
> to /var/www
> only, now I can access the server BUT
> If I type test.dbc-system.com I still end up in trac.dbc-system.com, I
> thought that the correct virtual server was supposed to start
> depending on
> the url.
See http://httpd.apache.org/docs/2.2/mod/core.html#namevirtualhost
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
>
> With best regards
>
> Tomas Larsson
> TL Engineering & Consultants
> Engelbrektsgatan 121
> SE 506 39 Borås
> Sweden
>
> +46 739 932 673
>
> http://www.tlec.se
>
>
> Verus Amicus Est Tamquam Alter Idem
>
>
> ---------------------------------------------------------------------
> 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
>
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. The sender's company reserves the right to monitor all e-mail communications through their networks.
---------------------------------------------------------------------
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] 403, no permissions, Why?
Posted by Tomas <to...@tlec.se>.
> -----Original Message-----
> From: Boyle Owen [mailto:Owen.Boyle@swx.com]
> Sent: Thursday, February 28, 2008 11:48 AM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] 403, no permissions, Why?
>
> > -----Original Message-----
> > From: Tomas [mailto:tomas@tlec.se]
> > Sent: Thursday, February 28, 2008 11:10 AM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] 403, no permissions, Why?
> >
> > Dear group.
> > I'm trying to setup an apache server with mod-python.
> > suddenly I get 403 on all virtual servers.
> > httpd.conf looks like this, apart from pure standard
> <VirtualHost *>
> > DocumentRoot /var/www/DBC ServerName trac.dbc-system.com
> > <Directory />
> > SetHandler mod_python
> > PythonInterpreter main_interpreter
> > PythonHandler trac.web.modpython_frontend
> > PythonOption TracEnv /var/trac/DBC
> > PythonOption TracUriRoot /
> > PythonDebug on
> > </Directory>
> > <Directory /login>
> > AuthType Basic
> > AuthName "DBC-System Dev Server"
> > AuthUserFile /var/trac/DBC/.htpasswd
> > Require valid-user
> > </Directory>
> > </VirtualHost>
> >
> > <VirtualHost *>
> > DocumentRoot "/var/www/default"
> > ServerName test.dbc-system.com
> > <Directory "/var/www/default">
> > allow from all
> > Options +Indexes
> > </Directory>
> > </VirtualHost>
> >
> > What have I forgot?
>
> To post the error log entry....
>
Oops
[Thu Feb 28 11:13:22 2008] [error] [client 192.168.0.31] client denied by
server configuration: /var/www/DBC/
Now I changed the server document root from /var/www/default to /var/www
only, now I can access the server BUT
If I type test.dbc-system.com I still end up in trac.dbc-system.com, I
thought that the correct virtual server was supposed to start depending on
the url.
With best regards
Tomas Larsson
TL Engineering & Consultants
Engelbrektsgatan 121
SE 506 39 Borås
Sweden
+46 739 932 673
http://www.tlec.se
Verus Amicus Est Tamquam Alter Idem
---------------------------------------------------------------------
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] 403, no permissions, Why?
Posted by Boyle Owen <Ow...@swx.com>.
> -----Original Message-----
> From: Tomas [mailto:tomas@tlec.se]
> Sent: Thursday, February 28, 2008 11:10 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] 403, no permissions, Why?
>
> Dear group.
> I'm trying to setup an apache server with mod-python.
> suddenly I get 403 on all virtual servers.
> httpd.conf looks like this, apart from pure standard
> <VirtualHost *>
> DocumentRoot /var/www/DBC
> ServerName trac.dbc-system.com
> <Directory />
> SetHandler mod_python
> PythonInterpreter main_interpreter
> PythonHandler trac.web.modpython_frontend
> PythonOption TracEnv /var/trac/DBC
> PythonOption TracUriRoot /
> PythonDebug on
> </Directory>
> <Directory /login>
> AuthType Basic
> AuthName "DBC-System Dev Server"
> AuthUserFile /var/trac/DBC/.htpasswd
> Require valid-user
> </Directory>
> </VirtualHost>
>
> <VirtualHost *>
> DocumentRoot "/var/www/default"
> ServerName test.dbc-system.com
> <Directory "/var/www/default">
> allow from all
> Options +Indexes
> </Directory>
> </VirtualHost>
>
> What have I forgot?
To post the error log entry....
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
>
> With best regards
>
> Tomas Larsson
> TL Engineering & Consultants
> Engelbrektsgatan 121
> SE 506 39 Borås
> Sweden
>
> +46 739 932 673
>
> http://www.tlec.se
>
>
> Verus Amicus Est Tamquam Alter Idem
>
>
> ---------------------------------------------------------------------
> 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
>
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. The sender's company reserves the right to monitor all e-mail communications through their networks.
---------------------------------------------------------------------
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