[opencms-dev] opencms URL rewrite
Marcus Redeker
mredeker at web.de
Tue Oct 7 19:08:01 CEST 2003
All,
I have the best results with the mod_jk module which contacts
Tomcat/Jetty through AJP13 protocol. No problems with parameter posts
and gets. The rewrite rules from apache always gave me problems with
stylesheets.
--Marcus
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Rene Hinojosa
> Sent: Tuesday, October 07, 2003 4:56 PM
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] opencms URL rewrite
>
>
> Nevermind it didn't work. Sorry 'bout the posting.
>
> On Tuesday, October 7, 2003, at 10:37 AM, Rene Hinojosa wrote:
>
> > Greeting All,
> >
> > Just wanted to note a change I had to make to the original rewrite
> > code I posted last week. I found a problem with the
> original when you
> > are passing parameters into jsp pages that are included in
> other jsp
> > pages. The correctly working code is as follows:
> >
> > <IfModule mod_rewrite.c>
> > RewriteEngine on
> > RewriteLog "/var/log/httpd/rewrite.log"
> > RewriteLogLevel 1
> >
> > #Redirect root URL entry through proxy. URL
> > RewriteRule ^/$ /opencms/opencms/internet/ [P]
> >
> > #Redirect all entries to /internet/ I have a directory
> that I want as
> > the root of the site
> > RewriteRule ^/opencms/opencms/internet/?(.*)$ /internet/$1 [P,QSA]
> > #This was originally R but changed to P(roxy), Q(uery) S(tring)
> > A(ttached)
> >
> > #Redirect admin login properly. Can use RewriteCond to make login
> > secure by use host variable or whatever.
> > RewriteRule ^/system/login$ /opencms/opencms/system/login [R]
> >
> > #Redirect all /internet/ page through tomcat
> > RewriteRule ^/internet/(.*)$ http://<<insert your tomcat
> > ip>>:8080/opencms/opencms/internet/$1 [P,QSA]
> >
> > </IfModule>
> >
> >
> >
> > Rene
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list