[opencms-dev] getting rid of the opencms/opencms/ prefix

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Tue Oct 18 17:42:59 CEST 2005


Aargghh! Solved! I messed one line in the rewrite rules (due to cut and paste)
the second line of 

SetEnvIfNocase Requist_URI ^/export/.*$ no-jk

landed in the commented out section of the line before it.

got rid of the opencms/opencms prefix, finally :-)

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

On Tue, Oct 18, 2005 at 05:12:28PM +0200, Christoph P. Kukulies wrote:
> On Tue, Oct 18, 2005 at 02:24:31PM +0200, Martin van den Bemt wrote:
> > You can also add RewriteLog logs/rewrite.log, so mod_alias logs what he 
> > is doing..
> 
> I had that enabled also.
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b4a018/ini
> tial] (3) applying pattern '^/opencms/opencms/(.*)$' to uri '/opencms/export/sys
> tem/modules/org.opencms.welcome/resources/logo_opencms_large.gif'
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b4a018/ini
> tial] (2) rewrite /opencms/export/system/modules/org.opencms.welcome/resources/l
> ogo_opencms_large.gif -> /opencms/opencms/opencms/export/system/modules/org.open
> cms.welcome/resources/logo_opencms_large.gif
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b4a018/ini
> tial] (2) forcing '/opencms/opencms/opencms/export/system/modules/org.opencms.we
> lcome/resources/logo_opencms_large.gif' to get passed through to next API URI-to
> -filename handler
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b41ff8/ini
> tial] (2) init rewrite engine with requested uri /favicon.ico
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b41ff8/ini
> tial] (3) applying pattern '^/opencms/opencms/(.*)$' to uri '/favicon.ico'
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b41ff8/ini
> tial] (2) rewrite /favicon.ico -> /opencms/opencms/favicon.ico
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b41ff8/ini
> tial] (2) forcing '/opencms/opencms/favicon.ico' to get passed through to next A
> PI URI-to-filename handler
> 
> If you look for instance at the URI 
> 127.0.0.1 - - [18/Oct/2005:17:01:38 +0200] [localhost/sid#46bd30][rid#b4a018/ini
> tial] (3) applying pattern '^/opencms/opencms/(.*)$' to uri '/opencms/export/sys
> tem/modules/org.opencms.welcome/resources/logo_opencms_large.gif'> 
> which is the icon that isn't found, could it be that is rewritten to a
> /opencms/opencms/opencms/export...
> ?
> 
> 
> > Mvgr,
> > Martin
> > 
> > Marcus Popetz wrote:
> > >At 03:27 AM 10/18/2005, Christoph P. Kukulies wrote:
> > >
> > >>Could it be that I gotta to enable some proxy modules in apache?
> > >>mod_proxy wan't enabled and enabling it didn't help either.
> > >>
> > >>There are some more proxy modules (mod_proxy_http, modproxy_ftp and some
> > >>others).
> > >
> > >
> > >I enabled (brute force)
> > >LoadModule proxy_module modules/mod_proxy.so
> > >LoadModule proxy_connect_module modules/mod_proxy_connect.so
> > >LoadModule proxy_http_module modules/mod_proxy_http.so
> 
> OK, I did that too, now to no avail.
> 
> > >
> > >and it fixed the exact problem you're seeing.  I wasn't sure exactly 
> > >which one was needed.  :P
> > >
> > >Check the apache log and see if it's complaining about the rewrite rule 
> > >trying to use mod_proxy hwen it's not enabled.
> 
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> 
> 
> _______________________________________________
> 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