[Zope] css not working in rewrite

Tino Wildenhain tino at wildenhain.de
Thu Jan 12 09:52:29 EST 2006


Kedar Dash schrieb:
>  Dear All,
> 
>  I am using python 2.3.5, zope 2.8 and plone 2.1.
> 
>  After writing the following rewrite rule in apache (compiled from  
>  source 1.3) the site is opening.
> 
>  <VirtualHost *>
>  ServerAlias shakeelx.ekduniya.com

ServerName seems missing.

>  RewriteEngine On
>  RewriteRule ^/(.*) http://127.0.0.1:9673/VirtualHostBase/http/% 
>  {HTTP_HOST}:80/%{HTTP_HOST}/VirtualHostRoot/$1 [L,P]
>  RewriteLog "/usr/local/apache/logs/rewrite.log"
>  RewriteLogLevel 9
>  </VirtualHost>
> 
>  The problem I am facing is it is not picking the css as a reasult  
>  of which the site is only openig with the text with out any formating.
> 
>  Looking for a solution.

Well, you are VHosting to zope root here. So there is no
reason CSS would not work. Does it work when you access the
site directly? How does the link look like when you view
the source as seen by your browser?

HTH
Tino


More information about the Zope mailing list