Re: [Zope] VirtualHost 403 Forbidden. Help!!
On 9/22/06, Dieter Maurer <[EMAIL PROTECTED]> wrote: KE Liew wrote at 2006-9-21 18:32 +0200: >Turn off ProxyVia Why should he turn off "ProxyVia"? It only tells Apache to forward the IP address of its client in a special request header... Ugh. Good question. I meant ProxyRequest. :/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
KE Liew wrote at 2006-9-21 18:32 +0200: >Turn off ProxyVia Why should he turn off "ProxyVia"? It only tells Apache to forward the IP address of its client in a special request header... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
Ferhat Ayaz wrote: I'm now able to access the server. with allowing access from all IPs. But is this the regular way to do VirtualHosting with Zope?? Here the solution (!?) Allow from all You really better asking these questions on #apache on irc.freenode.net as they have nothing to do with Zope. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
- Original Message - From: "Ferhat Ayaz" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]>; Sent: Thursday, September 21, 2006 1:13 PM Subject: Re: [Zope] VirtualHost 403 Forbidden. Help!! Disabling all proxy options worked for me too. I'm not sure if this will disable also all proxy restrictions. But I think I can live with this configuration for a while. Thanks. According to the apache docs the default for proxy passing is 'off' (ie. proxying is not enabled), so if your config file does not explicitly turn proxying 'on' you should be ok! Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
Disabling all proxy options worked for me too. I'm not sure if this will disable also all proxy restrictions. But I think I can live with this configuration for a while. Thanks. --- Jonathan <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Ferhat Ayaz" <[EMAIL PROTECTED]> > To: > Sent: Thursday, September 21, 2006 12:54 PM > Subject: Re: [Zope] VirtualHost 403 Forbidden. > Help!! > > > >I run the apache and zope server on the same > machine. > > Turning 'Off' ProxyVia and Deny from all produces > the > > same problem: 403 Forbidden. > > I don't understand, why the proxy deny my remote > IP. I > > think the apache server on the localhost 127.0.0.1 > > should call the proxy and I do my request to > apache. > > Or is this wrong? > > Following is an extract from our httpd.conf file: > > # > # Proxy Server directives. Uncomment the following > lines to > # enable the proxy server: > # > # > #ProxyRequests On > # > # > #Order deny,allow > #Deny from all > #Allow from .your-domain.com > # > # > # Enable/disable the handling of HTTP/1.1 "Via:" > headers. > # ("Full" adds the server version; "Block" removes > all outgoing Via: > headers) > # Set to one of: Off | On | Full | Block > # > #ProxyVia On > # > # To enable the cache as well, edit and uncomment > the following lines: > # (no cacheing without CacheRoot) > # > #CacheRoot "/etc/httpd/proxy" > #CacheSize 5 > #CacheGcInterval 4 > #CacheMaxExpire 24 > #CacheLastModifiedFactor 0.1 > #CacheDefaultExpire 1 > #NoCache a-domain.com another-domain.edu > joes.garage-sale.com > # > # End of proxy directives. > > As you can see all of the proxy directives have been > 'disabled'. > Here are a couple of examples from the virtual host > configuration section of > httpd.conf: > > > RewriteEngine on > RewriteRule manage - [F] > RewriteRule ^/(.*) > http://localhost:8080/VirtualHostBase/http/www.shopwiser.com:80/sw/VirtualHostRoot/$1 > > [L,P] > > > ServerName www.frapped.com > ServerAdmin [EMAIL PROTECTED] > ErrorLog logs/frapped_error_log > CustomLog logs/frapped_access_log common > RewriteRule ^/(.*) > http://localhost:8080/VirtualHostBase/http/www.frapped.com:80/Wet/VirtualHostRoot/$1 > > [L,P] > > > > NameVirtualHost 206.191.24.30 > > ServerName www.cozumo.net > ErrorLog logs/cozumo_error_log > CustomLog logs/cozumo_access_log common > RewriteEngine on > RewriteRule ^/(.*) > http://localhost:8081/VirtualHostBase/http/www.cozumo.net:80/Coz/CurrentVersion/WUI/VirtualHostRoot/$1 > > [L,P] > > > > This setup works for us! > > > Jonathan > > > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
- Original Message - From: "Ferhat Ayaz" <[EMAIL PROTECTED]> To: Sent: Thursday, September 21, 2006 12:54 PM Subject: Re: [Zope] VirtualHost 403 Forbidden. Help!! I run the apache and zope server on the same machine. Turning 'Off' ProxyVia and Deny from all produces the same problem: 403 Forbidden. I don't understand, why the proxy deny my remote IP. I think the apache server on the localhost 127.0.0.1 should call the proxy and I do my request to apache. Or is this wrong? Following is an extract from our httpd.conf file: # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # # #ProxyRequests On # # #Order deny,allow #Deny from all #Allow from .your-domain.com # # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # #ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # #CacheRoot "/etc/httpd/proxy" #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 #NoCache a-domain.com another-domain.edu joes.garage-sale.com # # End of proxy directives. As you can see all of the proxy directives have been 'disabled'. Here are a couple of examples from the virtual host configuration section of httpd.conf: RewriteEngine on RewriteRule manage - [F] RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/www.shopwiser.com:80/sw/VirtualHostRoot/$1 [L,P] ServerName www.frapped.com ServerAdmin [EMAIL PROTECTED] ErrorLog logs/frapped_error_log CustomLog logs/frapped_access_log common RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/www.frapped.com:80/Wet/VirtualHostRoot/$1 [L,P] NameVirtualHost 206.191.24.30 ServerName www.cozumo.net ErrorLog logs/cozumo_error_log CustomLog logs/cozumo_access_log common RewriteEngine on RewriteRule ^/(.*) http://localhost:8081/VirtualHostBase/http/www.cozumo.net:80/Coz/CurrentVersion/WUI/VirtualHostRoot/$1 [L,P] This setup works for us! Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
I run the apache and zope server on the same machine. Turning 'Off' ProxyVia and Deny from all produces the same problem: 403 Forbidden. I don't understand, why the proxy deny my remote IP. I think the apache server on the localhost 127.0.0.1 should call the proxy and I do my request to apache. Or is this wrong? Thanks, Ferhat --- KE Liew <[EMAIL PROTECTED]> wrote: > Turn off ProxyVia, and leave everything to default, > especially > > >Order deny,allow >Deny from all >#Allow from .your_domain.com > > > You don't want everyone to use your server as a > proxy. That can be bad. > > > On 9/21/06, Ferhat Ayaz <[EMAIL PROTECTED]> > wrote: > > In the apache logs I found this: > > > > [Thu Sep 21 16:15:58 2006] [error] [client > > 141.12.190.15] client denied by server > configuration: > > > proxy:http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/homelinux.net/VirtualHostRoot > > > > > > And this is my proxy conf > > > > > > > > #turning ProxyRequests on and allowing > > proxying from all may allow > > #spammers to use your proxy to send email. > > > > ProxyRequests Off > > > > > > Order deny,allow > > Deny from all > > #Allow from .your_domain.com > > > > > > # Enable/disable the handling of HTTP/1.1 > > "Via:" headers. > > # ("Full" adds the server version; "Block" > > removes all outgoing Via: headers) > > # Set to one of: Off | On | Full | Block > > > > ProxyVia On > > > > # To enable the cache as well, edit and > > uncomment the following lines: > > # (no cacheing without CacheRoot) > > > > CacheRoot "/var/cache/apache2/proxy" > > CacheSize 5 > > CacheGcInterval 4 > > CacheMaxExpire 24 > > CacheLastModifiedFactor 0.1 > > CacheDefaultExpire 1 > > # Again, you probably should change this. > > #NoCache a_domain.com another_domain.edu > > joes.garage_sale.com > > > > > > > > > > I know...Sorry that this is not a Zope issue > directly. > > But I think I can find here much more experience > with > > apache and Zope VirtualHosting as on other lists. > > > > Greets, > > Ferhat > > > > > > --- Jonathan <[EMAIL PROTECTED]> wrote: > > > > > > > > - Original Message - > > > From: "Jonathan" <[EMAIL PROTECTED]> > > > To: "Ferhat Ayaz" <[EMAIL PROTECTED]>; > > > > > > Sent: Thursday, September 21, 2006 10:34 AM > > > Subject: Re: [Zope] VirtualHost 403 Forbidden. > > > Help!! > > > > > > > > > > > > > > - Original Message - > > > > From: "Ferhat Ayaz" <[EMAIL PROTECTED]> > > > > To: > > > > Sent: Thursday, September 21, 2006 10:20 AM > > > > Subject: [Zope] VirtualHost 403 Forbidden. > Help!! > > > > > > > > > > > >> Hi, > > > >> > > > >> I read every doc I found. But the server > reports > > > >> always 403 on konfiguring an APache > VirtualHost > > > on my > > > >> Zope Instance on the same machine. Here my > > > sniplet > > > >> from apache2.conf (also known as httpd.conf) > > > >> > > > >> > > > >> > > > >> ServerName journal.homelinux.net > > > >> ServerAdmin [EMAIL PROTECTED] > > > >> RewriteEngine On > > > >> RewriteRule ^/(.*) > > > >> > > > > > > http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 > > > >> [P,L] > > > >> > > > >> ErrorLog > /var/log/apache2/journal-error_log > > > >> TransferLog > > > /var/log/apache2/journal-access_log > > > >> > > > >> > > > >> > > > >> I tryed many other variants to point to the > VH > > > >> Monster. > > > >> The result is always: > > > >> > > > >> Forbidden > > > >> > > > >> You don't have permission to access / on
Re: [Zope] VirtualHost 403 Forbidden. Help!!
Turn off ProxyVia, and leave everything to default, especially Order deny,allow Deny from all #Allow from .your_domain.com You don't want everyone to use your server as a proxy. That can be bad. On 9/21/06, Ferhat Ayaz <[EMAIL PROTECTED]> wrote: In the apache logs I found this: [Thu Sep 21 16:15:58 2006] [error] [client 141.12.190.15] client denied by server configuration: proxy:http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/homelinux.net/VirtualHostRoot And this is my proxy conf #turning ProxyRequests on and allowing proxying from all may allow #spammers to use your proxy to send email. ProxyRequests Off Order deny,allow Deny from all #Allow from .your_domain.com # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block ProxyVia On # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) CacheRoot "/var/cache/apache2/proxy" CacheSize 5 CacheGcInterval 4 CacheMaxExpire 24 CacheLastModifiedFactor 0.1 CacheDefaultExpire 1 # Again, you probably should change this. #NoCache a_domain.com another_domain.edu joes.garage_sale.com I know...Sorry that this is not a Zope issue directly. But I think I can find here much more experience with apache and Zope VirtualHosting as on other lists. Greets, Ferhat --- Jonathan <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Jonathan" <[EMAIL PROTECTED]> > To: "Ferhat Ayaz" <[EMAIL PROTECTED]>; > > Sent: Thursday, September 21, 2006 10:34 AM > Subject: Re: [Zope] VirtualHost 403 Forbidden. > Help!! > > > > > > - Original Message - > > From: "Ferhat Ayaz" <[EMAIL PROTECTED]> > > To: > > Sent: Thursday, September 21, 2006 10:20 AM > > Subject: [Zope] VirtualHost 403 Forbidden. Help!! > > > > > >> Hi, > >> > >> I read every doc I found. But the server reports > >> always 403 on konfiguring an APache VirtualHost > on my > >> Zope Instance on the same machine. Here my > sniplet > >> from apache2.conf (also known as httpd.conf) > >> > >> > >> > >> ServerName journal.homelinux.net > >> ServerAdmin [EMAIL PROTECTED] > >> RewriteEngine On > >> RewriteRule ^/(.*) > >> > http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 > >> [P,L] > >> > >> ErrorLog /var/log/apache2/journal-error_log > >> TransferLog > /var/log/apache2/journal-access_log > >> > >> > >> > >> I tryed many other variants to point to the VH > >> Monster. > >> The result is always: > >> > >> Forbidden > >> > >> You don't have permission to access / on this > server. > >> > >> > >> What am I doing > wrong? > > > > > > Is your nameserver configured to allow access to > journal.homelinux.net? > > (look at /etc/named.conf and the associated db > entry in /etc/named) > > > > Can you get to a simple directory on your server? > (ie. change the rewrite > > rule so that it points at a directory on your > server - create a simple > > index.html file in the associated htdocs > subdirectory) > > I take this back, the above would be for a 404 > error, probably not your 403 > error. > > Have you check your apache and zope logs? > > > Jonathan > > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
- Original Message - From: "Ferhat Ayaz" <[EMAIL PROTECTED]> To: Sent: Thursday, September 21, 2006 10:56 AM Subject: Re: [Zope] VirtualHost 403 Forbidden. Help!! I'm now able to access the server. with allowing access from all IPs. But is this the regular way to do VirtualHosting with Zope?? Here the solution (!?) Allow from all Do you have apache running on one box and zope running on another box (ie. and using mod_proxy to forward proxy requests from the front-end box to the target server (zope) box? If you have apache and zope running on the same box i don't think you need mod_proxy. Jonathan --- Jonathan <[EMAIL PROTECTED]> wrote: - Original Message - From: "Jonathan" <[EMAIL PROTECTED]> To: "Ferhat Ayaz" <[EMAIL PROTECTED]>; Sent: Thursday, September 21, 2006 10:34 AM Subject: Re: [Zope] VirtualHost 403 Forbidden. Help!! > > - Original Message - > From: "Ferhat Ayaz" <[EMAIL PROTECTED]> > To: > Sent: Thursday, September 21, 2006 10:20 AM > Subject: [Zope] VirtualHost 403 Forbidden. Help!! > > >> Hi, >> >> I read every doc I found. But the server reports >> always 403 on konfiguring an APache VirtualHost on my >> Zope Instance on the same machine. Here my sniplet >> from apache2.conf (also known as httpd.conf) >> >> >> >> ServerName journal.homelinux.net >> ServerAdmin [EMAIL PROTECTED] >> RewriteEngine On >> RewriteRule ^/(.*) >> http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 >> [P,L] >> >> ErrorLog /var/log/apache2/journal-error_log >> TransferLog /var/log/apache2/journal-access_log >> >> >> >> I tryed many other variants to point to the VH >> Monster. >> The result is always: >> >> Forbidden >> >> You don't have permission to access / on this server. >> >> >> What am I doing wrong? > > > Is your nameserver configured to allow access to journal.homelinux.net? > (look at /etc/named.conf and the associated db entry in /etc/named) > > Can you get to a simple directory on your server? (ie. change the rewrite > rule so that it points at a directory on your server - create a simple > index.html file in the associated htdocs subdirectory) I take this back, the above would be for a 404 error, probably not your 403 error. Have you check your apache and zope logs? Jonathan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
#turning ProxyRequests on and allowing proxying from all may allow #spammers to use your proxy to send email. ProxyRequests Off Order deny,allow Deny from all #Allow from .your_domain.com Forgive me if I'm being dense, but doesn't 'deny from all' imply that no proxy requests will be allowed? Don't you then need to uncomment the 'Allow' statement and put your server name there, so that proxy requests from your own server will be allowed? Cris Ewing ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
I'm now able to access the server. with allowing access from all IPs. But is this the regular way to do VirtualHosting with Zope?? Here the solution (!?) Allow from all --- Jonathan <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Jonathan" <[EMAIL PROTECTED]> > To: "Ferhat Ayaz" <[EMAIL PROTECTED]>; > > Sent: Thursday, September 21, 2006 10:34 AM > Subject: Re: [Zope] VirtualHost 403 Forbidden. > Help!! > > > > > > - Original Message - > > From: "Ferhat Ayaz" <[EMAIL PROTECTED]> > > To: > > Sent: Thursday, September 21, 2006 10:20 AM > > Subject: [Zope] VirtualHost 403 Forbidden. Help!! > > > > > >> Hi, > >> > >> I read every doc I found. But the server reports > >> always 403 on konfiguring an APache VirtualHost > on my > >> Zope Instance on the same machine. Here my > sniplet > >> from apache2.conf (also known as httpd.conf) > >> > >> > >> > >> ServerName journal.homelinux.net > >> ServerAdmin [EMAIL PROTECTED] > >> RewriteEngine On > >> RewriteRule ^/(.*) > >> > http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 > >> [P,L] > >> > >> ErrorLog /var/log/apache2/journal-error_log > >> TransferLog > /var/log/apache2/journal-access_log > >> > >> > >> > >> I tryed many other variants to point to the VH > >> Monster. > >> The result is always: > >> > >> Forbidden > >> > >> You don't have permission to access / on this > server. > >> > >> > >> What am I doing > wrong? > > > > > > Is your nameserver configured to allow access to > journal.homelinux.net? > > (look at /etc/named.conf and the associated db > entry in /etc/named) > > > > Can you get to a simple directory on your server? > (ie. change the rewrite > > rule so that it points at a directory on your > server - create a simple > > index.html file in the associated htdocs > subdirectory) > > I take this back, the above would be for a 404 > error, probably not your 403 > error. > > Have you check your apache and zope logs? > > > Jonathan > > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
In the apache logs I found this: [Thu Sep 21 16:15:58 2006] [error] [client 141.12.190.15] client denied by server configuration: proxy:http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/homelinux.net/VirtualHostRoot And this is my proxy conf #turning ProxyRequests on and allowing proxying from all may allow #spammers to use your proxy to send email. ProxyRequests Off Order deny,allow Deny from all #Allow from .your_domain.com # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block ProxyVia On # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) CacheRoot "/var/cache/apache2/proxy" CacheSize 5 CacheGcInterval 4 CacheMaxExpire 24 CacheLastModifiedFactor 0.1 CacheDefaultExpire 1 # Again, you probably should change this. #NoCache a_domain.com another_domain.edu joes.garage_sale.com I know...Sorry that this is not a Zope issue directly. But I think I can find here much more experience with apache and Zope VirtualHosting as on other lists. Greets, Ferhat --- Jonathan <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Jonathan" <[EMAIL PROTECTED]> > To: "Ferhat Ayaz" <[EMAIL PROTECTED]>; > > Sent: Thursday, September 21, 2006 10:34 AM > Subject: Re: [Zope] VirtualHost 403 Forbidden. > Help!! > > > > > > - Original Message ----- > > From: "Ferhat Ayaz" <[EMAIL PROTECTED]> > > To: > > Sent: Thursday, September 21, 2006 10:20 AM > > Subject: [Zope] VirtualHost 403 Forbidden. Help!! > > > > > >> Hi, > >> > >> I read every doc I found. But the server reports > >> always 403 on konfiguring an APache VirtualHost > on my > >> Zope Instance on the same machine. Here my > sniplet > >> from apache2.conf (also known as httpd.conf) > >> > >> > >> > >> ServerName journal.homelinux.net > >> ServerAdmin [EMAIL PROTECTED] > >> RewriteEngine On > >> RewriteRule ^/(.*) > >> > http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 > >> [P,L] > >> > >> ErrorLog /var/log/apache2/journal-error_log > >> TransferLog > /var/log/apache2/journal-access_log > >> > >> > >> > >> I tryed many other variants to point to the VH > >> Monster. > >> The result is always: > >> > >> Forbidden > >> > >> You don't have permission to access / on this > server. > >> > >> > >> What am I doing > wrong? > > > > > > Is your nameserver configured to allow access to > journal.homelinux.net? > > (look at /etc/named.conf and the associated db > entry in /etc/named) > > > > Can you get to a simple directory on your server? > (ie. change the rewrite > > rule so that it points at a directory on your > server - create a simple > > index.html file in the associated htdocs > subdirectory) > > I take this back, the above would be for a 404 > error, probably not your 403 > error. > > Have you check your apache and zope logs? > > > Jonathan > > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
- Original Message - From: "Jonathan" <[EMAIL PROTECTED]> To: "Ferhat Ayaz" <[EMAIL PROTECTED]>; Sent: Thursday, September 21, 2006 10:34 AM Subject: Re: [Zope] VirtualHost 403 Forbidden. Help!! - Original Message - From: "Ferhat Ayaz" <[EMAIL PROTECTED]> To: Sent: Thursday, September 21, 2006 10:20 AM Subject: [Zope] VirtualHost 403 Forbidden. Help!! Hi, I read every doc I found. But the server reports always 403 on konfiguring an APache VirtualHost on my Zope Instance on the same machine. Here my sniplet from apache2.conf (also known as httpd.conf) ServerName journal.homelinux.net ServerAdmin [EMAIL PROTECTED] RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 [P,L] ErrorLog /var/log/apache2/journal-error_log TransferLog /var/log/apache2/journal-access_log I tryed many other variants to point to the VH Monster. The result is always: Forbidden You don't have permission to access / on this server. What am I doing wrong? Is your nameserver configured to allow access to journal.homelinux.net? (look at /etc/named.conf and the associated db entry in /etc/named) Can you get to a simple directory on your server? (ie. change the rewrite rule so that it points at a directory on your server - create a simple index.html file in the associated htdocs subdirectory) I take this back, the above would be for a 404 error, probably not your 403 error. Have you check your apache and zope logs? Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
- Original Message - From: "Ferhat Ayaz" <[EMAIL PROTECTED]> To: Sent: Thursday, September 21, 2006 10:20 AM Subject: [Zope] VirtualHost 403 Forbidden. Help!! Hi, I read every doc I found. But the server reports always 403 on konfiguring an APache VirtualHost on my Zope Instance on the same machine. Here my sniplet from apache2.conf (also known as httpd.conf) ServerName journal.homelinux.net ServerAdmin [EMAIL PROTECTED] RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 [P,L] ErrorLog /var/log/apache2/journal-error_log TransferLog /var/log/apache2/journal-access_log I tryed many other variants to point to the VH Monster. The result is always: Forbidden You don't have permission to access / on this server. What am I doing wrong? Is your nameserver configured to allow access to journal.homelinux.net? (look at /etc/named.conf and the associated db entry in /etc/named) Can you get to a simple directory on your server? (ie. change the rewrite rule so that it points at a directory on your server - create a simple index.html file in the associated htdocs subdirectory) Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] VirtualHost 403 Forbidden. Help!!
File and folder permissions? On 9/21/06, Ferhat Ayaz <[EMAIL PROTECTED]> wrote: Hi, I read every doc I found. But the server reports always 403 on konfiguring an APache VirtualHost on my Zope Instance on the same machine. Here my sniplet from apache2.conf (also known as httpd.conf) ServerName journal.homelinux.net ServerAdmin [EMAIL PROTECTED] RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 [P,L] ErrorLog /var/log/apache2/journal-error_log TransferLog /var/log/apache2/journal-access_log I tryed many other variants to point to the VH Monster. The result is always: Forbidden You don't have permission to access / on this server. What am I doing wrong? thanks, Ferhat __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] VirtualHost 403 Forbidden. Help!!
Hi, I read every doc I found. But the server reports always 403 on konfiguring an APache VirtualHost on my Zope Instance on the same machine. Here my sniplet from apache2.conf (also known as httpd.conf) ServerName journal.homelinux.net ServerAdmin [EMAIL PROTECTED] RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1 [P,L] ErrorLog /var/log/apache2/journal-error_log TransferLog /var/log/apache2/journal-access_log I tryed many other variants to point to the VH Monster. The result is always: Forbidden You don't have permission to access / on this server. What am I doing wrong? thanks, Ferhat __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )