![]() | ![]() | ![]() |
| about search post article Documentation Mailing Lists Bug Tracking Development Installation Upgrading Download admin rdf main
|
Posted by John S. Wolter on Monday September 04, @04:26PMfrom the Stubbed my toes as I approach a site... dept. Ok, all is loaded, I'm running SUSE LINUX 9.3 with its Zope 2.7.4, Apache 2.0.53, BIND, and Squishdot 1.5.0(from changes.txt). The issue is accessing a Squishdot site within my Zope instance. I setup a site one level below the Zope root in a folder. Thus its URI is 'afolder/mysquishdot'. I want to address it in the brower this way.. http://www.website.com/mysquishdot/. Of course I have to use Apache2's mod_proxy and mod_rewrite. I've tried writing a RewriteRule this way... RewriteRule ^/mysquishdot/$ http://192.168.1.64:8080/VirtualHostBase/http/www.wolterworks.net:80/afolder/mysquishdot/VirtualHostRoot/$1 [L,P] So it gets the main page index_html which _mostly_ renders but the Squishdot image at the top reports the infamous 404 message in the Apache log files /mysquishdot/ HTTP/1.1" 200 32690 then... /Images/advert_img HTTP/1.1" 404 3943 /Images/sitetitle_img HTTP/1.1" 404 3943 /TopicImages/squishdot_img HTTP/1.1" 404 3949 The RewriteRule relies on /mysquishdot/ leading the URL which /Images/ is lacking. The RewriteRule correctly does not activate. So the next rule does activate which does not redirect to the /afolder/mysquishdot URI. I can acesss the site by typing... http://www.website.com/afolder/mysquishdot .. and it comes up in all its glory. The ^/(.*) 2nd rule is working, good for this way accessing. Well, I want to avoid the performance hit of the VHM. Further, I want to install multiple sites just to add some challenge to this. I am using a singe IP address and name based virtual hosting through Apache. Does anyone have any insight as to how to make RewriteRules work for this application.
|
|
|
"Any system that depends on reliability is unreliable." -- Nogg's Postulate | |
| All trademarks and copyrights on this page are
owned by their respective companies.
Comments are owned by the Poster.
The Rest ©1999
Butch Landingin, ©2000-2002
Chris Withers.
|
||