On Wed, 1 Jun 2005, Rafa P�rez wrote:

[ ... ]
>
> Hi again and thanks for your responses. I revised my configuration and
> there were some things that I was doing wrong. First of all, I had not
> loaded mod_rewrite in apache (I am pretty new to apache's
> configuration and did not take care of this), and, as Jann told, the
> RewriteRules and ProxyPass do not work fine together. I have followed
> again step by step the instructions given in
> http://lenya.apache.org/1_2_x/tutorial/mod_proxy_and_lenya_continued.html
>   and have experienced a curious behaviour. When I try to acces the
> index of the publication, no format is given to the pages again. But
> if I go one level down, the page is shown with all the style and the
> images. I think it is a problem with the way the css and the images
> are seeked when they are called and redirected, but I can not find it.
> My rules are the following:
>
>                     RewriteRule ^/([^/\.]+)$ $1/ [R]
>                     RewriteRule ^/([^/\.]+)/$ $1/index.html [R]
>                     RewriteRule ^/([^/\.]+)/live/(.*)$ $1/$2 [R,L]
>
>                     # Rewrite for Lenya-wide resources (e.g. 404 page)
>                     RewriteRule ^/lenya/(.*)
> http://gruposfa.sfa1:8080/lenya/$1 [P]
>                     RewriteRule ^/([^/\.]+)/(.*)
> http://gruposfa.sfa1:8080/$1/live/$2 [P]
>                     ProxyPassReverse / http://gruposfa.sfa1:8080/
>
> I have deployed Lenya 1.2.3 under the ROOT context of tomcat 5.0.28.
> The rewrite log is attached. Any help is appreciated.
>

I have no answer simple answer to your question. I propose the following
procedure:
- empty you rewrite-log
- access the index page one time and having a look at the page source in
order to get the path to your css
- ater that I would analyse your rewrite log especially what is happening
with the css-request.

BTW it is important the your publication.xconf file is matched to your
RewriteRule.

Jann

---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universit�t Z�rich
Winterthurerstr. 190
CH-8057 Zuerich

oooO   mail:  [EMAIL PROTECTED]
(  )   phone: +41 44 63 56772
 \ (   fax:   +41 44 63 54505
  \_)  http://www.id.unizh.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to