Re: Kwiki::Modperl redirects
[email protected] (Liu Kang-min) Fri, 1 Jul 2005 11:32:12 +0800
| Newsgroups | perl.kwiki |
|---|---|
| Message-ID | <[email protected]> |
On Jul 1, 2005, at 2:01 AM, Christopher L. Everett wrote: >> > > I just commented out script name and the result is the same. It > occurs > to me that the issue might be my proxy setup: apache+mod_ssl+mod_gzip > front end proxying back to ModPerl::Kwiki, with the initial request > going to a mod_ssl enabled virtual, then internally redirected to a > second virtual host with mod_gzip enabled (mod_ssl disabled), where > basic authentication/authorization happens, requests for static files > get handled immediately right there and everything else gets sent to > the Perl server. Hello, ceverett Could you try without those proxy and rewrite rules ? That way we can at least make sure where the problem is. :) If the redirection bug still there without these apache configuration, then Kwiki needs patches ;-) Cheers, Kang-min Liu > > <VirtualHost 207.177.51.231:443> > ServerName wiki.medbanner.com > DocumentRoot "/var/httpd/wiki" > ServerAdmin [email protected] > ProxyPass / http://localhost:1081/ > ProxyPassReverse / http://localhost:1081/ > ProxyReceiveBufferSize 65535 > > Include /etc/httpd/ssl/engine.conf # common SSL setup > SSLCertificateFile ... > SSLCertificateKeyFile ... > </VirtualHost> > <VirtualHost 127.0.0.1:1081> > ServerAdmin [email protected] > ServerName gzip.wiki.medbanner.com > DocumentRoot "/var/httpd/wiki" > SSLEngine Off > > Include /etc/httpd/gzip.conf # common mod_gzip setup > > RewriteEngine on > RewriteRule "(config\.yaml|plugins|passwords|registry > \.dd)" \ > - [L] > RewriteRule ^(admin/|config/|plugin/|template/|theme/| > icons/) \ > - [L] > RewriteRule (\.css|\.jpg|\.gif|\.png|\.js) > $ \ > - [L] > RewriteRule ^/ > (.*) \ > http://127.0.0.1:8095/$1 [P] > > ProxyPassReverse / http://127.0.0.1:8095/ > ProxyReceiveBufferSize 65535 > <FilesMatch "(config\.yaml|plugins|passwords|registry\.dd)" > > Deny from all > </FilesMatch> > <FilesMatch (config/|plugin/|template/|theme/) > > Deny from all > </FilesMatch> > ErrorLog /var/log/httpd/wiki.medbanner.com/error.log > CustomLog /var/log/httpd/wiki.medbanner.com/access.log combined > </VirtualHost> > > This should all be OK, right? > > > -- > Christopher L. Everett > > Chief Technology Officer > www.medbanner.com > MedBanner, Inc. > www.physemp.com >