cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <coco...@wyona.org>
Subject Re: working with mod_rewrite
Date Thu, 04 Apr 2002 19:04:59 GMT
Did you try mod_proxy?

You will find some notes at

http://www.wyona.org/docs/wyona-cms-docs/integrator-guide/virtual-server/proxy-apache.html

All the best

Michael



Liam Morley wrote:

> I read up on working with mod_rewrite in the Cocoon FAQ, and I'm having a
> bit of a hard time getting mod_rewrite to cooperate with my sessions.
> 
> I've got the following in my Apache httpd.conf:
> 
> RewriteEngine On
> RewriteLog "E:/rewrite.log"
> RewriteLogLevel 3
> RewriteRule /cms/(.*) /cocoon/cms/$1 [PT]
> 
> 
> Each time the page is visited, a new session ID is created. After checking
> the logs, I noticed that the JSESSIONID isn't getting passed when using
> mod_rewrite. Here's an excerpt from the log without using mod_rewrite:
> 
> PARAM: 'cookie' VALUES: '[JSESSIONID=A897E11152D430961782D5C9D9E67211;
> CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
> PARAM: 'connection' VALUES: '[Keep-Alive]'
> PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
> PARAM: 'referer' VALUES: '[http://localhost/cocoon/cms/info/mission.html]'
> PARAM: 'accept' VALUES: '[image/gif, image/x-xbitmap, image/jpeg,
> image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint,
> application/msword, */*]'
> PARAM: 'accept-language' VALUES: '[en-us]'
> PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; Windows
> NT 5.1; Q312461)]'
> PARAM: 'host' VALUES: '[localhost]'
> 
> And here's what happens when I use mod_rewrite:
> PARAM: 'cookie' VALUES:
> '[CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
> PARAM: 'connection' VALUES: '[Keep-Alive]'
> PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
> PARAM: 'referer' VALUES: '[http://localhost/cms/news/news_story_1.html]'
> PARAM: 'accept' VALUES: '[*/*]'
> PARAM: 'accept-language' VALUES: '[en-us]'
> PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; Windows
> NT 5.1; Q312461)]'
> PARAM: 'host' VALUES: '[localhost]'
> 
> As you can tell, there's no JSESSIONID when I use mod_rewrite.. also, the
> 'accept' parameter is different.
> 
> If anybody can help me, I'd greatly appreciate it. Thanks:)
> 
> Liam Morley
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message