Re: [us...@httpd] HTTP/0.9 and mod_proxy

2009-10-06 Thread Krist van Besien
On Mon, Oct 5, 2009 at 8:30 PM, Danijel wrote: > Krist van Besien wrote: >> > The tcpdump between Apache and the backend looks like this: >> > >> >        GET /test HTTP/1.0 >> >        Host: backend:9110 >> >        User-Agent: curl/7.15.1 (x86_64-suse-linux) libcurl/7.15.1 >> >        OpenSSL/0.

Re: [us...@httpd] Odd site redirection

2009-10-06 Thread Igor Cicimov
I would say something is wrong with your new virtual host definition. It's not a redirection but since the request doesn't match any virtual host is being served by the first one in the config file. On Tue, Oct 6, 2009 at 2:03 AM, Oliver Marshall < oliver.marsh...@g2support.com> wrote: > Hi cha

Re: [us...@httpd] Odd site redirection

2009-10-06 Thread Dick Davies
Do you have a NameVirtualHost *.80 in your apache config somewhere? On Tue, Oct 6, 2009 at 8:06 AM, Igor Cicimov wrote: > I would say something is wrong with your new virtual host definition. It's > not a redirection but since the request doesn't match any virtual host is > being served by the

[us...@httpd] AUTO: Ryan Watkins/Rochester/IBM is out of the office. (returning 10/14/2009)

2009-10-06 Thread Ryan Watkins
I am out of the office until 10/14/2009. I am out of the office and will not have access to email and voicemail. I will respond to your message when I return. For assistance with technical issues related to the Apache HTTP server on IBM i you can contact: Nadir Amra, or my team leader Tim Rowe

Re: [us...@httpd] AUTO: Ryan Watkins/Rochester/IBM is out of the office. (returning 10/14/2009)

2009-10-06 Thread André Warnier
Hi. This is a message from AHUSLSFARTARS (Apache httpd user's support list system for automatic replies to automatic reply systems) : Please unsuscribe before you leave on a holiday. If you are a human, you do not need to reply to this message. On the other hand, if you are a machine, are you

Re: [us...@httpd] Apache issue - Filename format

2009-10-06 Thread Tom Evans
On Tue, 2009-10-06 at 07:30 -0700, bhasker yadav wrote: > Hi All, > > Can you please have a look at the below issue and give me a solution. > Also i have attached the screen shots of the issue. > > Thanks. > > --- On Wed, 9/2/09, bhasker yadav > wrote: > > > From: bhasker ya

[us...@httpd] mod_rewrite : Can a space in a URL be preserved ?

2009-10-06 Thread ABAPGUY
Hi Apache experts, I am using Apache 2.0.59 as a Reverse Proxy using mod_rewrite and mod_proxy . I have a downstream J2EE server that is creating URLs with a space in them . How can I use mod_rewrite (which sees %20) to write the space ..instead of %20 ?   Regards Daniel

Re: [us...@httpd] mod_rewrite : Can a space in a URL be preserved ?

2009-10-06 Thread Dick Davies
Spaces aren't valid characters in urls, period. As you say, it URL encodes to %20, and I can't imagine any bits of apache (or any other server) are going to send a space instead, because that breaks the HTTP spec. On Tue, Oct 6, 2009 at 3:59 PM, ABAPGUY wrote: > > Hi Apache experts, > I am using

[us...@httpd] how to avoid duplicating the document root in vhost conf files?

2009-10-06 Thread Brolin Empey
Hello list, Here is one of my vhost conf files: [bro...@cowboy] [0] [1] ~/ $ cat /etc/apache2/sites-available/aidsorphanage.org ServerAdmin bro...@techsol.ca ServerName aidsorphanage.org ServerAlias www.aidsorphanage.org aidsorphonage.org www.aidsorphonage.org Do

[us...@httpd] Need help to diagnose a problem with CustomLog

2009-10-06 Thread Bernard Fay
Hi, I have a weird problem with CustomLog. I defined an access log in a vhost configuration file. This site used to use /var/log/apache2/access_log. I changed it to use "CustomLog /var/log/apache2/www.services.cnt.qc/www.services.cnt.qc-access_log combined" For some odd reason, when I started

Re: [us...@httpd] how to avoid duplicating the document root in vhost conf files?

2009-10-06 Thread Jonathan Zuckerman
On Tue, Oct 6, 2009 at 11:37 AM, Brolin Empey wrote: > Hello list, > > Here is one of my vhost conf files: > > [bro...@cowboy] [0] [1] ~/ > $ cat /etc/apache2/sites-available/aidsorphanage.org > >        ServerAdmin bro...@techsol.ca >        ServerName aidsorphanage.org >        ServerAlias www.

Re: [us...@httpd] how to avoid duplicating the document root in vhost conf files?

2009-10-06 Thread Brolin Empey
2009/10/6 Jonathan Zuckerman : > Am I missing something? I only see the DocumentRoot declared once in > your example Yes, there is only 1 DocumentRoot directive, but the “/var/www/aidsorphanage.org/” part of the /value/ of the DocumentRoot directive is duplicated thrice. How can I avoid duplicati

Re: [us...@httpd] how to avoid duplicating the document root in vhost conf files?

2009-10-06 Thread Jonathan Zuckerman
On Tue, Oct 6, 2009 at 12:30 PM, Brolin Empey wrote: > 2009/10/6 Jonathan Zuckerman : >> Am I missing something? I only see the DocumentRoot declared once in >> your example > > Yes, there is only 1 DocumentRoot directive, but the > “/var/www/aidsorphanage.org/” part of the /value/ of the Document

Re: [us...@httpd] how to avoid duplicating the document root in vhost conf files?

2009-10-06 Thread Brolin Empey
2009/10/6 Jonathan Zuckerman : > Ah I see... I'm a software engineer too so I appreciate trying to > encapsulate often-used values but I'd say this might be one of those > battles it wouldn't kill you to forfeit. I am a hacker, not an engineer. ;) In any case, I am not a professional engineer, so

Re: [us...@httpd] mod_rewrite : Can a space in a URL be preserved ?

2009-10-06 Thread rank1seeker
Maybe if Daniel would edit Apache's source... :))) Then once his "custom" Apache server is up and running, should notify us about it's IP. So we could have a fun with it ;) - Original Message - From: Dick Davies To: users@httpd.apache.org Date: Tue, 6 Oct 2009 16:05:36 +0100 Subject: Re

Re: [us...@httpd] Need help to diagnose a problem with CustomLog

2009-10-06 Thread Igor Cicimov
Have you commented out the /var/log/apache2/access_log line in the main section of the config file? On Wed, Oct 7, 2009 at 6:09 AM, Bernard Fay wrote: > Hi, > > I have a weird problem with CustomLog. > > I defined an access log in a vhost configuration file. This site used to > use /var/log/apa

Re: [us...@httpd] apache2 core dump

2009-10-06 Thread Igor Cicimov
Thought to post some more debugging regarding this problem I have. This time I had help from one of our Unix engineers with the debugging and you can see he used mdb in this case: bash-2.05$ mdb core.httpd.28499.wenpweb1.500.500.1253659663 mdb: warning: failed to infer pathname to executable; sym

Re: [us...@httpd] mod_rewrite : Can a space in a URL be preserved ?

2009-10-06 Thread Jonathan Zuckerman
On Tue, Oct 6, 2009 at 3:25 PM, wrote: > Maybe if Daniel would edit Apache's source... :))) > Then once his "custom" Apache server is up and running, should notify us > about it's IP. > So we could have a fun with it ;) > > > - Original Message - > From: Dick Davies > To: users@httpd.apa

[us...@httpd] AccessLog configuration: log requests depending upon HTTP STATUS code?

2009-10-06 Thread Kristian Rink
Folks; being into trying to extract meaningful information off an apache 2.2 access.log / error.log, I wonder whether there is a straightforward way here of setting up logging so that only requests resulting in an HTTP STATE == 40x or 5xx will be logged. Looking at access.log I see that the inform

Re: [us...@httpd] how to avoid duplicating the document root in vhost conf files?

2009-10-06 Thread Krist van Besien
You might want to take a look at mod_macro. Especially if you have a lot of VHOSTS, and have them all structured in the same way. http://www.cri.ensmp.fr/~coelho/mod_macro/ Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow o