Re: [EMAIL PROTECTED] Readable and L10N URIs with content negotiation and mod_rewrite/aliases

2008-03-11 Thread William A. Rowe, Jr.
Daniel Aleksandersen wrote: On 2008-03-11, William A. Rowe, Jr. wrote: See the httpd 2.2 conf/extra/httpd-manual.conf for how this is rewritten to be in a specific language-space. (en/index.html vs no/index.html) So what is really the best practise? I thought of content negotiation as trying

[EMAIL PROTECTED] Readable and L10N URIs with content negotiation and mod_rewrite/aliases

2008-03-11 Thread Daniel Aleksandersen
On 2008-03-11, William A. Rowe, Jr. wrote: > Daniel Aleksandersen wrote: > > On 2008-03-11, Dragon wrote: > >> Daniel Aleksandersen wrote: > >>> Hi, > >>> > >>> I need some help to think clearer. > >>> > >>> To copy the example used on “Making readable URIs” at W3C: > >>> “A Norwegian without

Re: [EMAIL PROTECTED] Readable and L10N URIs with content negotiation and mod_rewrite/aliases

2008-03-11 Thread William A. Rowe, Jr.
Daniel Aleksandersen wrote: On 2008-03-11, Dragon wrote: Daniel Aleksandersen wrote: Hi, I need some help to think clearer. To copy the example used on “Making readable URIs” at W3C: “A Norwegian without knowledge of basic English would like to be able to remember "www.site.com/fiske/st

[EMAIL PROTECTED] Readable and L10N URIs with content negotiation and mod_rewrite/aliases

2008-03-11 Thread Daniel Aleksandersen
On 2008-03-11, Dragon wrote: > Daniel Aleksandersen wrote: > >Hi, > > > >I need some help to think clearer. > > > >To copy the example used on “Making readable URIs” at W3C: > >“A Norwegian without knowledge of basic English would like to be > > able to remember "www.site.com/fiske/stenger" i

Re: [EMAIL PROTECTED] Readable and L10N URIs with content negotiation and mod_rewrite/aliases

2008-03-11 Thread Dragon
Daniel Aleksandersen wrote: Hi, I need some help to think clearer. To copy the example used on “Making readable URIs” at W3C: “A Norwegian without knowledge of basic English would like to be able to remember "www.site.com/fiske/stenger" instead of "www.site.com/fishing/rods".” What I a

[EMAIL PROTECTED] Readable and L10N URIs with content negotiation and mod_rewrite/aliases

2008-03-11 Thread Daniel Aleksandersen
Hi, I need some help to think clearer. To copy the example used on “Making readable URIs” at W3C: “A Norwegian without knowledge of basic English would like to be able to remember "www.site.com/fiske/stenger" instead of "www.site.com/fishing/rods".” What I am wondering about is how I would go

Re: [EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-11 Thread David Cassidy
Sorry and glad to hear it :) On Tue, 2008-03-11 at 20:12 +0530, Nilesh Govindrajan wrote: > On Tue, 11 Mar 2008 14:39:36 + > David Cassidy <[EMAIL PROTECTED]> wrote: > > > Nilesh > > > > Check if its doing a reverse lookup. > > > > you need DNS for that ... > > > > D > > > > On Tue, 20

Re: [EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-11 Thread Nilesh Govindrajan
On Tue, 11 Mar 2008 14:39:36 + David Cassidy <[EMAIL PROTECTED]> wrote: > Nilesh > > Check if its doing a reverse lookup. > > you need DNS for that ... > > D > > On Tue, 2008-03-11 at 19:48 +0530, Nilesh Govindrajan wrote: > > On Tue, 11 Mar 2008 09:10:16 -0500 > > "Adam Martin" <[EMAIL PR

Re: [EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-11 Thread David Cassidy
Nilesh Check if its doing a reverse lookup. you need DNS for that ... D On Tue, 2008-03-11 at 19:48 +0530, Nilesh Govindrajan wrote: > On Tue, 11 Mar 2008 09:10:16 -0500 > "Adam Martin" <[EMAIL PROTECTED]> wrote: > > > Dinesh, > > > > > > > > When I started reading I thought you may be exp

Re: [EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-11 Thread Nilesh Govindrajan
On Tue, 11 Mar 2008 09:10:16 -0500 "Adam Martin" <[EMAIL PROTECTED]> wrote: > Dinesh, > > > > When I started reading I thought you may be experiencing a delay with > the host resolution but when you mentioned that you could access > another Tomcat application using the IP Address it doesn't so

RE: [EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-11 Thread Adam Martin
Dinesh, When I started reading I thought you may be experiencing a delay with the host resolution but when you mentioned that you could access another Tomcat application using the IP Address it doesn't sound like you are. To be sure you may want to add the 192.168.1.2 host to your hosts fil

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} ^(.+)$ > > RewriteCond %{REQUEST

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 Krist van Besien
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} ^(.+)$ > RewriteCond %{REQUEST_URI} /%1 > > but that is never got hit. > > What I actually trying i

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 processing you can > > > use an

[EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-11 Thread Dinesh Kumar
Hi all, I'm facing a peculiar problem. My environment is as follows: Apache 2.2.4 mod_jk 1.2.23 Tomcat 6.0.13 When I access the Java application running on Tomcat like this: curl http://localhost/community/forums/list.page, I get a response within 1 second. However, when I access it like this

Re: [EMAIL PROTECTED] Content negotiation and the Vary header

2008-03-11 Thread Nick Kew
On Tue, 11 Mar 2008 06:28:00 +0100 Daniel Aleksandersen <[EMAIL PROTECTED]> wrote: > Hi list, > > Just a quick question regarding the HTTP/1.1 Vary header and content > negotiation. Must the Vary header contain all “content variables” What's a "content variable"? Vary lists request headers. >

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 expression. > > Maybe you could t

Re: [EMAIL PROTECTED] mod_dav, xp professional sp2 errors

2008-03-11 Thread Nils Jeppe
On Mon, 10 Mar 2008, Julius wrote: my xp machine can mount the dav share, but thats it. cant copy/read or ^^ There's your problem. I have given up on trying to get windows work correctly with webdav. It's very sad, but MS' implementation seems to be incredibly buggy and the be

Re: [EMAIL PROTECTED] IP sharing by several web servers and computers

2008-03-11 Thread Nils Jeppe
On Tue, 11 Mar 2008, Jan Mura wrote: So I put into httpd.conf the 10.0.0 firstly and the Apache started. Now I put into Win Apache the adress of the router 90.177.103.168 and it started but I think it cannot run together with the same adress and port. It is quite IP-Adresses always have to

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 Krist van Besien
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 processing you can > > use an environment variable, just like you did. If you want to save > > infor

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} > > > > but the variable will the return the litera

Re: [EMAIL PROTECTED] IP sharing by several web servers and computers

2008-03-11 Thread Jan Mura
Hello Christian, well you understood the problem correctly. Thank you, I'll find something about load balancer. The detailed description of the situation is I have a Linux and Windows boxes with their Apache running. And they are behind some modem/router which obtained the adress. The Lin and