[us...@httpd] how do I *define* a default virtual host

2009-09-15 Thread robert rottermann
hi ther, I load my VH's from a directory with a number of VH's is it possible to define which one is the default one? it seems to select the first in alphabetical order. thanks robert - The official User-To-User support forum o

Re: [us...@httpd] how do I *define* a default virtual host

2009-09-15 Thread mark (at) edgewire
Hi Robert, From the documentation, it does seem like you can't define a default virtual host but what you can do is to add it into the top entry of your list of virtual hosts to have it serve up that page when there are no matching virtual hosts. From the documentation, http://httpd.apach

Re: [us...@httpd] how do I *define* a default virtual host

2009-09-15 Thread Krist van Besien
On Tue, Sep 15, 2009 at 9:02 AM, robert rottermann wrote: > hi ther, > I load my VH's from a directory with a number of VH's > > is it possible to define which one is the default one? > > it seems to select the first in alphabetical order. I asume you have one config that pulls in the VH's config

[us...@httpd] images not displayed

2009-09-15 Thread Melanie Pfefer
Hi I would like to get our opinion on a strange behavior on my website. I have a web application running on apache. The images displas normally if I try to access pages via http://localhost. On a remote machine, http://machine_name works fine but images are not displayed. any idea what could

Re: [us...@httpd] images not displayed

2009-09-15 Thread André Warnier
Melanie Pfefer wrote: Hi I would like to get our opinion on a strange behavior on my website. I have a web application running on apache. The images displas normally if I try to access pages via http://localhost. On a remote machine, http://machine_name works fine but images are not displaye

Re: [us...@httpd] RE: apache and apple quicktime

2009-09-15 Thread André Warnier
mark (at) edgewire wrote: Hi all, We have a XSAN storage which is attached to an xserve running apache2. We have noticed that the disk reads have dropped by 80% when we are streaming quicktime files which are still being written to disk across the local network via http. However, if we are st

[us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Victor Porton
Apache 2.2.13 http://localhost/test.shtml?city Test 1 passed. Test 2 failed. test.shtml follows Test 1 passed. Test 1 failed. Test 2 passed. Test 2 failed. So test 2 is failed. Why \b for word boundaries doesn't work? Is it a bug of Apache? How I specify word boundaries

Re: [us...@httpd] how do I *define* a default virtual host

2009-09-15 Thread André Warnier
Krist van Besien wrote: On Tue, Sep 15, 2009 at 9:02 AM, robert rottermann wrote: hi ther, I load my VH's from a directory with a number of VH's is it possible to define which one is the default one? it seems to select the first in alphabetical order. I asume you have one config that pulls

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread André Warnier
Victor Porton wrote: ... I am not sure which add-on module of Apache, and which version you are talking about, but are you sure that the above right-hand side is interpreted as a regexp, as opposed to a simple string ? Can you point us to the relevant documentation ? ---

Re: [us...@httpd] RE: apache and apple quicktime

2009-09-15 Thread mark (at) edgewire
Hi Andre, This is for a broadcast facility where the editors do want to preview the media as it is coming into the XSAN, thus the reading back of the quicktime .mov file while it is still being written/ingested into the system. The part which eludes me at this moment is that running the e

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Tom Evans
On Tue, 2009-09-15 at 12:52 +0200, André Warnier wrote: > Victor Porton wrote: > ... > > > > > > I am not sure which add-on module of Apache, and which version you are > talking about, but are you sure that the above right-hand side is > interpreted as a regexp, as opposed to a simple string ?

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread André Warnier
Tom Evans wrote: On Tue, 2009-09-15 at 12:52 +0200, André Warnier wrote: Victor Porton wrote: ... I am not sure which add-on module of Apache, and which version you are talking about, but are you sure that the above right-hand side is interpreted as a regexp, as opposed to a simple string ?

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Victor Porton
On Tue, 2009-09-15 at 13:29 +0200, André Warnier wrote: > Tom Evans wrote: > > On Tue, 2009-09-15 at 12:52 +0200, André Warnier wrote: > >> Victor Porton wrote: > >> ... > >>> > >> I am not sure which add-on module of Apache, and which version you are > >> talking about, but are you sure that the

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Torsten Foertsch
Привет, On Tue 15 Sep 2009, Victor Porton wrote: > > > > After this change the test 2 passes, but it does not pass if I enter > http://localhost/test2.shtml?city=2 Perhaps you have to outwit the SSI string parser. Just a guess: Torsten -- Need professional mod_perl support? Just hire me:

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread André Warnier
Torsten Foertsch wrote: Привет, On Tue 15 Sep 2009, Victor Porton wrote: After this change the test 2 passes, but it does not pass if I enter http://localhost/test2.shtml?city=2 Perhaps you have to outwit the SSI string parser. Just a guess: Yep, my bet would be on that one too right

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Victor Porton
On Tue, 2009-09-15 at 15:05 +0200, Torsten Foertsch wrote: > On Tue 15 Sep 2009, Victor Porton wrote: > > > > > > > After this change the test 2 passes, but it does not pass if I enter > > http://localhost/test2.shtml?city=2 > > Perhaps you have to outwit the SSI string parser. Just a guess: >

[us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread LuKreme
On 15-Sep-2009, at 01:54, Krist van Besien wrote: On Tue, Sep 15, 2009 at 9:02 AM, robert rottermann wrote: hi ther, I load my VH's from a directory with a number of VH's is it possible to define which one is the default one? it seems to select the first in alphabetical order. I asume you

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread Jan G.B.
2009/9/15 LuKreme > On 15-Sep-2009, at 01:54, Krist van Besien wrote: > >> On Tue, Sep 15, 2009 at 9:02 AM, robert rottermann >> wrote: >> >>> hi ther, >>> I load my VH's from a directory with a number of VH's >>> >>> is it possible to define which one is the default one? >>> >>> it seems to sel

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Nick Kew
Victor Porton wrote: On Tue, 2009-09-15 at 15:05 +0200, Torsten Foertsch wrote: On Tue 15 Sep 2009, Victor Porton wrote: After this change the test 2 passes, but it does not pass if I enter http://localhost/test2.shtml?city=2 Perhaps you have to outwit the SSI string parser. Just a guess:

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread Eric Covener
On Tue, Sep 15, 2009 at 11:34 AM, Jan G.B. wrote: > I'd say this way it's always unclear which is the default vhost. As you have > to dig through instead of just issuing a `cat > /etc/apache2/sites-enabled/*` or just `ls`. apachectl/apache2ctl/httpd -S ? -- Eric Covener cove...@gmail.com

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Torsten Foertsch
On Tue 15 Sep 2009, Nick Kew wrote: > > /\\bcity\\b/ works on my localhost (Debian Linux with Apache > > 2.2.13-1), > > Good.  Mystery solved (though I have to confess I'm a little > surprised you need that in the context). Here is the piece of code that (I believe) eats the backslashes (mod_inclu

[us...@httpd] Work around for Incorrect ETag on gzip:ed content (issue 39727)?

2009-09-15 Thread Henrich Kraemer
I am using DEFLATE to dynamically compress xml files using apache 2.0.52 and noticed that etag remains the same whether or not the resources are send with Content-Encoding:gzip or unencoded. Issue https://issues.apache.org/bugzilla/show_bug.cgi?id=39727 describes this issue. I am trying to find a

[us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread LuKreme
On 15-Sep-2009, at 09:34, Jan G.B. wrote: 2009/9/15 LuKreme I always put my default VirtualHost directly into the httpd.conf file, just before the Include line. I'd say this way it's always unclear which is the default vhost. As you have to dig through instead of just issuing a `cat /e

[us...@httpd] Single module

2009-09-15 Thread Daniel Viana Auler(Plebeuz)
Hello!! How can i compile a single module in apache? I already have it compiled and i want to add a module, how i do this? Tanks, Plebeuz - The official User-To-User support forum of the Apache HTTP Server Project.

[us...@httpd] Rewrite Rule question

2009-09-15 Thread Jai
We have folloeing rewrite rules in our apache configuration files. RewriteRule ^/AuthenticateService/Agent/Authenticate /AgentAuthenticationService/AgentAuthenticationSoapBindingImplBean [PT] RewriteRule ^/AuthenticateService/Agent/Authorize /AgentAuthenticationService/AgencyAuthorizationSoapBindi

Re: [us...@httpd] Rewrite Rule question

2009-09-15 Thread Bob Ionescu
2009/9/15 Jai : > We have folloeing rewrite rules in our apache configuration files. > > RewriteRule ^/AuthenticateService/Agent/Authenticate > /AgentAuthenticationService/AgentAuthenticationSoapBindingImplBean [PT] > RewriteRule ^/AuthenticateService/Agent/Authorize > /AgentAuthenticationService/A

Re: [us...@httpd] Rewrite Rule question

2009-09-15 Thread André Warnier
Jai wrote: ... It redirects to /AgentAuthenticationService/AgentAuthenticationSoapBindingImplBean instead of /AgentAuthenticationService/AgentAuthenticationAndAuthorizationSoapBindingImplBean. Is there any restriction in number of characters in rewrite rule? I don't know, but looking at the

[us...@httpd] Re: Rewrite Rule question

2009-09-15 Thread Nick
Hi Jai, > Is there any restriction in number of characters in rewrite rule? > Could some one help us to resove this issue? Don't know the answer to this, or your original problem, but here's a shot in the dark (not tested my theory) Couldn't you make an Alias as follows: Al

[us...@httpd] How to manipulate the query string and headers in apache1

2009-09-15 Thread Matthew Young
Hello, What is the best way to set a cookie based on a value from a var extracted from the query string? All of this done on Apache1 and on a webserver level? The following is my suggestions and questions: a.) mod_rerite cannot set cookies in apache1, so one would think that using that module to