hi all i've downloaded and installed mod_fastcgi for zope. everything went ok if: ----- FastCgiIpcDir /tmp FastCgiExternalServer /home/httpd/html/z -host localhost:8999 <Location /z> Options ExecCGI SetHandler fastcgi-script </location> ---- is set in apache config. Q: what should be done so that users can access zope with just www.mysite.com/, because with the above i need to go to www.mysite.com/z/ tia
kedai wrote:
hi all i've downloaded and installed mod_fastcgi for zope. everything went ok if: ----- FastCgiIpcDir /tmp FastCgiExternalServer /home/httpd/html/z -host localhost:8999
<Location /z> Options ExecCGI SetHandler fastcgi-script </location> ---- is set in apache config.
Q: what should be done so that users can access zope with just www.mysite.com/, because with the above i need to go to www.mysite.com/z/
a rewrite rule shall work but I dunno if you need that overhead, like RewriteEngine on RewriteLogLevel 0 RewriteCond %{REQUEST_URI} !^/z/.* RewriteRule ^/(.*) /z/$1 [L] or somethin -- CIMPOESU Teodor, Web Programmer @ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo@digiro.net,+(401)-330.47.28 official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/
On Mon, Nov 01, 1999 at 09:53:05PM +0200, Teodor Cimpoesu wrote:
Q: what should be done so that users can access zope with just www.mysite.com/, because with the above i need to go to www.mysite.com/z/ a rewrite rule shall work but I dunno if you need that overhead, like RewriteEngine on RewriteLogLevel 0 RewriteCond %{REQUEST_URI} !^/z/.* RewriteRule ^/(.*) /z/$1 [L] or somethin
One that works: RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/(.*) /home/httpd/html/fcgi/$1 [e=HTTP_CGI_AUTHORIZATION:%1,l] (supposing that you have the fcgi Zope app configured in /home/httpd/html/fcgi with: FastCgiIpcDir /tmp/fcgi FastCgiExternalServer /home/httpd/html/fcgi -socket zope and that you start Zope with: start -L /tmp/fcgi/zope -Petru
participants (3)
-
kedai -
Petru Paler -
Teodor Cimpoesu