You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Jonathan Linczak <li...@hiram.edu> on 2004/06/18 18:15:40 UTC

ApacheModProxy configuration

Hi all,

Trying out the ApacheModProxy configuration at the Wiki site 
http://wiki.cocoondev.org/Wiki.jsp?page=ApacheModProxy (which is 
awesome, nicely documented), and works great!  This is going to help 
out a lot with our implementation of Lenya.  However, quick question 
that is somewhat non-Lenya related:

When I go to the live site once configured, it appends a jsession 
variable at the end of my URL.  Now, it's been a while since I worked 
with Tomcat (back in the 3.0 days), but jsession variables are anything 
like session variables in PHP, then it just keeps track of the user as 
they go through the pages.  With a simple, relatively static site, I 
wouldn't think this would be needed, would it?  If not, how can I turn 
this off?

Jon


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: ApacheModProxy configuration

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Jonathan Linczak wrote:

> When I go to the live site once configured, it appends a jsession 
> variable at the end of my URL.  Now, it's been a while since I worked 
> with Tomcat (back in the 3.0 days), but jsession variables are anything 
> like session variables in PHP, then it just keeps track of the user as 
> they go through the pages.  With a simple, relatively static site, I 
> wouldn't think this would be needed, would it?  If not, how can I turn 
> this off?

beats me. we even added a patch recently to filter it out from the matchers.


-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Any reason why document ids cannot contain "_"?

Posted by Andreas Hartmann <an...@apache.org>.
Gregor J. Rothfuss wrote:

> Jean Pierre LeJacq said:
> 
>>When creating new documents, the file:
>>
>>  lenya/lenya/xslt/authoring/create.xsl
>>
>>does not allow the "_" character in the id name.  This seems overly
>>restrictive.  Is there any rationale for this restriction?  Would
>>there be any repercussion if I relaxed this restriction?

I think we could tweak the DefaultDocumentBuilder a little,
but this has a low prio IMHO.

Feel free to implement your own DocumentBuilder and
configure it in publication.xconf.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Any reason why document ids cannot contain "_"?

Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Sun, 20 Jun 2004, Gregor J. Rothfuss wrote:

>
> Jean Pierre LeJacq said:
> > When creating new documents, the file:
> >
> >   lenya/lenya/xslt/authoring/create.xsl
> >
> > does not allow the "_" character in the id name.  This seems overly
> > restrictive.  Is there any rationale for this restriction?  Would
> > there be any repercussion if I relaxed this restriction?
>
> this is because _ is the language separator. see also
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28974
>
> the code that checks for _ should be made smarter.




---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Any reason why document ids cannot contain "_"?

Posted by "Gregor J. Rothfuss" <gr...@wyona.com>.
Jean Pierre LeJacq said:
> When creating new documents, the file:
>
>   lenya/lenya/xslt/authoring/create.xsl
>
> does not allow the "_" character in the id name.  This seems overly
> restrictive.  Is there any rationale for this restriction?  Would
> there be any repercussion if I relaxed this restriction?

this is because _ is the language separator. see also

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28974

the code that checks for _ should be made smarter.

-gregor

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Any reason why document ids cannot contain "_"?

Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
When creating new documents, the file:

  lenya/lenya/xslt/authoring/create.xsl

does not allow the "_" character in the id name.  This seems overly
restrictive.  Is there any rationale for this restriction?  Would
there be any repercussion if I relaxed this restriction?

-- 
JP



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: ApacheModProxy configuration

Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Mon, 21 Jun 2004, Jonathan Linczak wrote:

> Ah, I know we talked about this, but again, I am quite new to
> this, and so figuring out how to do this so that every time
> someone publishes a document, it generates the static HTML file
> and moves it to another directory for Apache to serve it is a
> little beyond me.  Outside of the front page showing the jsession
> variable in the URL, what are the downsides to using
> ApacheModProxy techniques?

None that I can think of except for possibly the complexity of
configuring Apache.

-- 
JP



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: ApacheModProxy configuration

Posted by Jonathan Linczak <li...@hiram.edu>.
Hi Jean Pierre,

Ah, I know we talked about this, but again, I am quite new to this, and 
so figuring out how to do this so that every time someone publishes a 
document, it generates the static HTML file and moves it to another 
directory for Apache to serve it is a little beyond me.  Outside of the 
front page showing the jsession variable in the URL, what are the 
downsides to using ApacheModProxy techniques?

Jon

On Jun 19, 2004, at 4:20 PM, Jean Pierre LeJacq wrote:

> On Fri, 18 Jun 2004, Jonathan Linczak wrote:
>
> > When I go to the live site once configured, it appends a jsession
>  > variable at the end of my URL.  Now, it's been a while since I 
> worked
>  > with Tomcat (back in the 3.0 days), but jsession variables are 
> anything
>  > like session variables in PHP, then it just keeps track of the user 
> as
>  > they go through the pages.  With a simple, relatively static site, I
>  > wouldn't think this would be needed, would it?  If not, how can I 
> turn
>  > this off?
>
> You can generate your entire site from Lenya and then deploy the
>  reulting static html pages onto an apache server.  At that point,
>  you no longer need tomcat (or jsession variables).
>
> -- 
> JP
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org

Re: ApacheModProxy configuration

Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Fri, 18 Jun 2004, Jonathan Linczak wrote:

> When I go to the live site once configured, it appends a jsession
> variable at the end of my URL.  Now, it's been a while since I worked
> with Tomcat (back in the 3.0 days), but jsession variables are anything
> like session variables in PHP, then it just keeps track of the user as
> they go through the pages.  With a simple, relatively static site, I
> wouldn't think this would be needed, would it?  If not, how can I turn
> this off?

You can generate your entire site from Lenya and then deploy the
reulting static html pages onto an apache server.  At that point,
you no longer need tomcat (or jsession variables).

-- 
JP



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org