AW: [opencms-dev] Problem with mod_proxy,parameters and sessions

Manuel Wallnöfer mfw at msk-informatik.at
Fri Feb 20 15:54:00 CET 2004


Hi Daniel,

My httpd.conf looks like this for the host where i want to supress the
/vpmcms/opencms/ suffix.


<VirtualHost *>
ServerName www.vpm.at
ServerAdmin office at opencms.at

DocumentRoot	/opt/jakarta/tomcat/webapps/vpmcms/
ErrorLog	/var/log/apache2/error.log
SetEnvIf Request_URI "\/vpmcms/opencms\/*" redirect
CustomLog	/var/log/apache2/edit-access.log common env=!redirect


ProxyPass	/vpmcms/opencms/vpm/	!
RedirectPermanent	/vpmcms/opencms/vpm/	http://www.vpm.at/

ProxyPass	/vpmcms/resources/
http://127.0.0.1:8091/vpmcms/resources/
ProxyPass	/vpmcms/export/
http://127.0.0.1:8091/vpmcms/export/
ProxyPass	/vpmcms/		http://127.0.0.1:8091/vpmcms/

ProxyPass	/	http://127.0.0.1:8091/vpmcms/opencms/vpm/
ProxyPassReverse	/
http://127.0.0.1:8091/vpmcms/opencms/vpm/


<Directory "/srv/www/htdocs/vpm.at/webalizer">
AuthName "Webalizer VPM"
AuthType Basic
AuthUserFile /srv/www/htdocs/vpm.at/webalizer/.htpasswd
require valid-user
</Directory>



</VirtualHost>


My situation is that i  want to change the url from
http://myserver.com/vpmcms/opencms/de/....    To
http://myserver.com/de/.......

Thx for help


Regards
Manuel




-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Daniel López
Gesendet: Freitag, 20. Februar 2004 15:07
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] Problem with mod_proxy,parameters and
sessions


Hi Manuel,

I haven't tried this with OpenCms myself, but ALL of our web 
applications use an apache front-end with mod_proxy to redirect to the 
appropriate server and we have never had mod_proxy to kill the 
parameters or the cookies (sessions).
How's does your mod_proxy configuration look like?
Regards,
D.

Manuel Wallnöfer escribió:

> Hi List,
> 
> I tried to remove the /opencms/opencms/ prefix with the mod_proxy 
> guidelines (like Alex postet a month ago i think) with success.
> 
> Now i removed the /opencms/opencms/ from the URL but now there is 
> another Problem.
> 
> For this i used in the httpd.conf the ProxPass,ProxyPassReverse and so

> on.
> 
> But now my Problem is that i can´t use the Lucene Serach module and a 
> few other things, because every Parameter which i add in the Form, 
> don't arrive.
> 
> I think that the ProxyPass kills all Parameters and sessions!
> 
> This means for the Search Module the String which i enter in the Form 
> doesn't arrive at my search.jsp, there for the string "null" arrives.
> 
> And another Problem i have is that now i can't use Sessions because 
> every Page is shown in a new session.

> Thx for help!
> Regards
> 
> Manuel

> -------------------------
> Manuel Wallnöfer
> Rosenweg 1
> 4111 Walding
> +43-699-18181929


_______________________________________________
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