Re: [us...@httpd] Server Side Includes - include only a certain "xpath"

2009-09-02 Thread Thorsten Scherler
On Mon, 2009-08-31 at 11:03 +0200, Thorsten Scherler wrote: > On Fri, 2009-08-28 at 14:32 +0100, Nick Kew wrote: > > Thorsten Scherler wrote: > > > Hi all, > > > > > > I have a page that includes various parts via ssi. > > > e.g. > > > >

Re: [us...@httpd] Server Side Includes - include only a certain "xpath"

2009-08-31 Thread Thorsten Scherler
On Fri, 2009-08-28 at 14:32 +0100, Nick Kew wrote: > Thorsten Scherler wrote: > > Hi all, > > > > I have a page that includes various parts via ssi. > > e.g. > > > > On our current version we "hack" the included pages to an invalid html >

[us...@httpd] Server Side Includes - include only a certain "xpath"

2009-08-28 Thread Thorsten Scherler
to include a certain part of a page like e.g. TIA for any information and suggestions. salu2 -- Thorsten Scherler Open Source Java Sociedad Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U. (SADESI) -

[us...@httpd] Are ssi pages cacheable?

2009-05-07 Thread Thorsten Scherler
ETAG but I wonder how I can do this. Anybody can give me some pointers? TIA salu2 -- Thorsten Scherler Open Source Java Sociedad Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U. (SADESI) - The official

Re: [us...@httpd] Reading images from a jar

2009-03-02 Thread Thorsten Scherler
your apache webroot seperately. Using aliases > or rewrites to make requests for this content map to your static files > in stead of your tomcat instance is than relatively straightforward. Yeah, that definitely will work. salu2 > Krist -- Thorsten Scherler Open Source Java Soci

[us...@httpd] Reading images from a jar

2009-03-02 Thread Thorsten Scherler
jar:/themer/themes/common/images/$1.$2" [L] Any ideas and thoughts welcome. TIA salu2 -- Thorsten Scherler Open Source Java Sociedad Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U. (SADESI) -

Re: [EMAIL PROTECTED] custom-error with httpd and tomcat

2008-06-02 Thread Thorsten Scherler
On Mon, 2008-06-02 at 09:13 -0400, Eric Covener wrote: > On Mon, Jun 2, 2008 at 8:40 AM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > > ErrorDocument 503 "error 1" > > ErrorDocument 500 "error 2" > > > > Now if I do not start t

[EMAIL PROTECTED] custom-error with httpd and tomcat

2008-06-02 Thread Thorsten Scherler
e ErrorDocument when my servlet response with Status=Internal Server Error - 500? TIA for any information. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions -

Re: [EMAIL PROTECTED] How to test whether a file exist in a ssi page?

2008-05-12 Thread Thorsten Scherler
On Mon, 2008-05-12 at 13:27 +0100, Nick Kew wrote: > On Mon, 12 May 2008 09:30:28 +0200 > Thorsten Scherler <[EMAIL PROTECTED]> wrote: > > > > > > > Is the difference in those paths a typo? Yeah, but only in the mail, not in the code. Just forgot to cut the

Re: [EMAIL PROTECTED] How to test whether a file exist in a ssi page?

2008-05-12 Thread Thorsten Scherler
On Fri, 2008-05-09 at 09:22 -0400, Joshua Slive wrote: > On Fri, May 9, 2008 at 4:05 AM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > how can I test whether a file exist in a ssi page? > > > > I have following > > > > wh

[EMAIL PROTECTED] How to test whether a file exist in a ssi page?

2008-05-09 Thread Thorsten Scherler
information available. Where I do not know which expression to use to do expr="$DOCUMENT_ROOT/2008/88/test.html EXIST" TIA for any ideas. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and

Re: [EMAIL PROTECTED] Re: Jboss 4.2 clustering..

2008-03-18 Thread Thorsten Scherler
rliest.. > > -- > Regards, > > Praveena Chalamcharla, > Securview > > > > -- > Regards, > > Praveena Chalamcharla, > Securview -- Thorste

Re: [EMAIL PROTECTED] String operations in ssi

2008-03-12 Thread Thorsten Scherler
On Wed, 2008-03-12 at 10:40 +0100, Thorsten Scherler wrote: > Hi all, > > are string operations in ssi possible? > > I need to compare two strings but only the root path of them. My use > case is the following: > > > > MAP = /boletines/2008/1/index.html > >

Re: [EMAIL PROTECTED] FilesMatch matching all but certain extensions

2008-03-12 Thread Thorsten Scherler
IL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions ---

[EMAIL PROTECTED] String operations in ssi

2008-03-12 Thread Thorsten Scherler
results in a match, but changing REQUEST_URI to /boletines/2008/1/d/1.html obviously do not match. However I want to compare only /boletines/2008/1 and if it is the same than the condition should be true, is that possible? TIA for any information. salu2 -- Thorsten Scherler

Re: [EMAIL PROTECTED] How to set environment variable from RewriteMap? (was Re: [EMAIL PROTECTED] mod_rewrite E flag does not set env. variable)

2008-03-12 Thread Thorsten Scherler
On Tue, 2008-03-11 at 14:22 +0100, Thorsten Scherler wrote: > On Tue, 2008-03-11 at 13:20 +0100, Krist van Besien wrote: > > On Tue, Mar 11, 2008 at 12:29 PM, Thorsten Scherler > > <[EMAIL PROTECTED]> wrote: ... > > Now, what is not entirely clear is what you are trying

Re: [EMAIL PROTECTED] How to set environment variable from RewriteMap? (was Re: [EMAIL PROTECTED] mod_rewrite E flag does not set env. variable)

2008-03-11 Thread Thorsten Scherler
On Tue, 2008-03-11 at 13:20 +0100, Krist van Besien wrote: > On Tue, Mar 11, 2008 at 12:29 PM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > > To overcome that problem I took your suggestion and combined it like: > > RewriteCond ${portadaboja:boletin}

Re: [EMAIL PROTECTED] How to set environment variable from RewriteMap? (was Re: [EMAIL PROTECTED] mod_rewrite E flag does not set env. variable)

2008-03-11 Thread Thorsten Scherler
On Tue, 2008-03-11 at 09:04 +0100, Krist van Besien wrote: > On Tue, Mar 11, 2008 at 8:37 AM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-03-10 at 14:01 +0100, Krist van Besien wrote: > > > > If you want to save that information during request pr

Re: [EMAIL PROTECTED] How to set environment variable from RewriteMap? (was Re: [EMAIL PROTECTED] mod_rewrite E flag does not set env. variable)

2008-03-11 Thread Thorsten Scherler
On Mon, 2008-03-10 at 14:10 +0100, Krist van Besien wrote: > On Mon, Mar 10, 2008 at 1:44 PM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > > Does somebody has an idea how I can save either whether a rewrite had > > happened or the result of the rewriteMap expre

Re: [EMAIL PROTECTED] How to set environment variable from RewriteMap? (was Re: [EMAIL PROTECTED] mod_rewrite E flag does not set env. variable)

2008-03-11 Thread Thorsten Scherler
On Mon, 2008-03-10 at 14:01 +0100, Krist van Besien wrote: > On Mon, Mar 10, 2008 at 1:44 PM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > > RewriteMap portadaboja txt:/opt/datos/httpd/redirect.txt > > SetEnv FOCUS ${portadaboja:boletin} > > > >

[EMAIL PROTECTED] How to set environment variable from RewriteMap? (was Re: [EMAIL PROTECTED] mod_rewrite E flag does not set env. variable)

2008-03-10 Thread Thorsten Scherler
On Mon, 2008-03-10 at 13:12 +0100, Thorsten Scherler wrote: > On Mon, 2008-03-10 at 11:20 +0100, Krist van Besien wrote: > > On Mon, Mar 10, 2008 at 9:58 AM, Thorsten Scherler > > <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I am trying t

Re: [EMAIL PROTECTED] mod_rewrite/mod_negotiation/mod_dir interaction and SSI

2008-03-10 Thread Thorsten Scherler
On Mon, 2008-03-10 at 13:03 +0100, Thorsten Scherler wrote: > On Mon, 2008-03-10 at 12:35 +0100, Michael J Gruber wrote: > > Hi there, > ... > > Background: > > I'm experimenting with per dir mod_rewrite although this stuff will end > > up in server config final

Re: [EMAIL PROTECTED] mod_rewrite E flag does not set env. variable

2008-03-10 Thread Thorsten Scherler
On Mon, 2008-03-10 at 11:20 +0100, Krist van Besien wrote: > On Mon, Mar 10, 2008 at 9:58 AM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I am trying to use the E flag in some of my rewrite rules but without > > suggest. >

Re: [EMAIL PROTECTED] mod_rewrite/mod_negotiation/mod_dir interaction and SSI

2008-03-10 Thread Thorsten Scherler
flag. Maybe you refer to this and it is just not possible what I am trying to do either. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions -

[EMAIL PROTECTED] mod_rewrite E flag does not set env. variable

2008-03-10 Thread Thorsten Scherler
irect works fine but when I use in my ssi the following: 1. 2. 3. The out put is: 1. 2. 3. (none) I am using apache2 as package from Ubuntu (2.2.3-3.2ubuntu2.1). Can somebody explain me what I am doing wrong? TIA salu2 -- Thorsten Scherler thorsten.at.apache.