[EMAIL PROTECTED] Another "Premature end of script" headers problem

2008-11-18 Thread Dan Yamins
Sorry, I posted this in the middle of someone else's question before ... so I'm posting it again in its own thread. Hopefully someone has some ideas: I'm running a python script using CGI on a local apache-served virtual host. (It' just an internal development project.) The project involves lay

[EMAIL PROTECTED] Another "Premature end of script" headers problem

2008-11-18 Thread Dan Yamins
Sorry, I posted this in the middle of someone else's question before ... so I'm posting it again in its own thread. Hopefully someone has some ideas: I'm running a python script using CGI on a local apache-served virtual host. (It' just an internal development project.) The project involves lay

Re: [EMAIL PROTECTED] compiling apache with mpm as worker

2008-11-18 Thread William A. Rowe, Jr.
Eric Covener wrote: > On Tue, Nov 18, 2008 at 7:08 PM, Anurag Gujral <[EMAIL PROTECTED]> wrote: >> Hi All, >> I was compiling apache with ./configure --prefix=DirName >> --with-mpm=worker >> >> After this I do make,make install but when look at DirName/bin/ I dont use >> exe httpd.wor

Re: [EMAIL PROTECTED] Repository logs to SYSLOG-NG serve

2008-11-18 Thread Eric Covener
On Tue, Nov 18, 2008 at 10:41 AM, Ashwin Patil <[EMAIL PROTECTED]> wrote: > Hi All, > > Is it possible to recive the repository access logs on the syslog-ng > server..? I am trying to centralise all the logs to the syslog ng server. > please help if any have done this working Only the error lo

Re: [EMAIL PROTECTED] compiling apache with mpm as worker

2008-11-18 Thread Eric Covener
On Tue, Nov 18, 2008 at 7:08 PM, Anurag Gujral <[EMAIL PROTECTED]> wrote: > Hi All, > I was compiling apache with ./configure --prefix=DirName > --with-mpm=worker > > After this I do make,make install but when look at DirName/bin/ I dont use > exe httpd.worker. That's a convention us

[EMAIL PROTECTED] compiling apache with mpm as worker

2008-11-18 Thread Anurag Gujral
Hi All, I was compiling apache with ./configure --prefix=DirName --with-mpm=worker After this I do make,make install but when look at DirName/bin/ I dont use exe httpd.worker. Anyone know why. Thanks A

Re: [EMAIL PROTECTED] Re: WELCOME to users@httpd.apache.org (UNCLASSIFIED)

2008-11-18 Thread morgan gangwere
On Mon, Nov 17, 2008 at 2:13 PM, Paul Doubek <[EMAIL PROTECTED]> wrote: > Hey Morgan... was this in response to my registering with the mail list? I > wasn't sure, but it seemed like the timing was more than coincidence! :) Is > it preferred that I use a different mail client for the list? I try t

Re: [EMAIL PROTECTED] help with mod_authn_dbd and oracle

2008-11-18 Thread William A. Rowe, Jr.
Paul Simon wrote: >> That's very helpful information. I have Apache 2.2.9/APR 1.3 available on >> another box. I tried the config and now >> I'm getting a different error message: >> >> [Tue Nov 18 14:42:18 2008] [error] (20014)Internal error: DBD: Can't connect >> to >> oracle >> [Tue Nov 18 14

[EMAIL PROTECTED] Compiling apache with 3rd party module for mod_ssl with openssl (UNCLASSIFIED)

2008-11-18 Thread French, Warron S CTR DISA NS
Classification: UNCLASSIFIED Caveats: NONE I posted this information on Friday of last week. Any takers as to why I can't compile apache's httpd binary with mod_ssl? I get a libssl.so created (as opposed to a mod_ssl.so) but it is not compiled into httpd (using httpd -l to confirm) as libssl.c

Re: [EMAIL PROTECTED] help with mod_authn_dbd and oracle

2008-11-18 Thread Paul Simon
> > > > To answer your question directly, if your apr-util is built > > to load drivers dynamically, then yes, it should be > > apr_dbd_oracle.so (or .dll). But I don't know what the > > situation is on windows. Have you tried building it > > yourself (either the driver, or the whole of apr-uti

[EMAIL PROTECTED] Combining userdir and redirect

2008-11-18 Thread Carsten Aulbert
Hi all, I'm a bit stuck right now not knowing how to proceed. On Apache 2.2 (Debian Etch) I'm running to userdirs nested into each other. The first one enables user directories for the directory WWW and the second one enables this for SSL and Kerberos: UserDir WWW UserDir disabled

Re: [EMAIL PROTECTED] help with mod_authn_dbd and oracle

2008-11-18 Thread Paul Simon
> Paul Simon wrote: > > Hi, I have Apache 2.2.6 running on windows. Is it possible to get > mod_authn_dbd working with oracle right out of the box? I've added the > following > configuration (along with the appropriate auth modules): > > > > LoadModule authn_dbd_module modules/mod_authn_dbd.so

[EMAIL PROTECTED] how to build debuggable apache exe

2008-11-18 Thread Anurag Gujral
Hi All, I downloaded the httpd-2.059 but I could find any information how to make a debug build for the code. Plz help Thanks A

Re: [EMAIL PROTECTED] help with mod_authn_dbd and oracle

2008-11-18 Thread William A. Rowe, Jr.
Paul Simon wrote: > Hi, I have Apache 2.2.6 running on windows. Is it possible to get > mod_authn_dbd working with oracle right out of the box? I've added the > following configuration (along with the appropriate auth modules): > > I'm suspecting that I need the oracle driver. Is it something li

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread André Warnier
Sorry, I made a big mistake in the URLs below. Corrected in the text. André Warnier wrote: Ravindra, ScriptAlias should be the name of a *directory* in which you have your scripts. Not the name of the script itself. Suppose your webserver's document directory (DocumentRoot) is something like

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread André Warnier
Ravindra, ScriptAlias should be the name of a *directory* in which you have your scripts. Not the name of the script itself. Suppose your webserver's document directory (DocumentRoot) is something like c:/apache2/htdocs Then you would create a directory like c:/apache2/cgi-bin and you would have

Re: [EMAIL PROTECTED] help with mod_authn_dbd and oracle

2008-11-18 Thread Nick Kew
Paul Simon wrote: Hi, I have Apache 2.2.6 running on windows. Is it possible to get mod_authn_dbd working with oracle right out of the box? I've added the following configuration (along with the appropriate auth modules): LoadModule authn_dbd_module modules/mod_authn_dbd.so LoadModule dbd_modu

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread Ravindra
I tried to replace my app with a perl test script and I get 500 internal server error when I try to access /test/ URL: httpd.conf: ScriptAlias /test/ "C:/Program Files/MyApp/bin/test.pl" error.log: [Tue Nov 18 21:53:15 2008] [error] [client ::1] (OS 3)The system cannot find the pat

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread Ravindra
In my case, Apache is running as localsystem and it happens consistently. I'm just not able to use 2.2.10 due to this problem. On Tue, Nov 18, 2008 at 9:42 PM, Dan Yamins <[EMAIL PROTECTED]> wrote: > >> > ... >> > [Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of >> > script hea

[EMAIL PROTECTED] help with mod_authn_dbd and oracle

2008-11-18 Thread Paul Simon
Hi, I have Apache 2.2.6 running on windows. Is it possible to get mod_authn_dbd working with oracle right out of the box? I've added the following configuration (along with the appropriate auth modules): LoadModule authn_dbd_module modules/mod_authn_dbd.so LoadModule dbd_module modules/mod_dbd.s

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread Dan Yamins
> > ... > > [Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of > > script headers: our_application.exe > > ... > > > ScriptLog might show you that your app is emitting an error message > instead of e.g. Content-Type header. > > -- > Actually, I've _also_ just started to have an

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread Ravindra
I tried scriptLog and this log contains only request no response. Does that mean Apache is not spawning my script/application ? I have followng entry in my httpd.conf: ScriptAlias/foo/"C:/Program Files/bar/foo.exe/" Also, when I insert DebugBreak() in foo.exe, it

[EMAIL PROTECTED] Repository logs to SYSLOG-NG serve

2008-11-18 Thread Ashwin Patil
Hi All, Is it possible to recive the repository access logs on the syslog-ng server..? I am trying to centralise all the logs to the syslog ng server. please help if any have done this working Thanks, Ashwiin Patil thanks! -ashwin. network analyst. www.robosoftin.com

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread Eric Covener
On Tue, Nov 18, 2008 at 8:06 AM, Ravindra <[EMAIL PROTECTED]> wrote: > Hi, > > We have been using Apache 2.0.59, and our application as running fine. > When we upgrade Apache to 2.2.10, we start getting "500 Internal > Server Error" consistently. > > After looking at error.log, we found following l

Re: [EMAIL PROTECTED] Rewrite relative image paths in a reversed proxy setup

2008-11-18 Thread Bocalinda
Hey Nick. http://172.18.0.39:8080 is the URL of one of my Tomcat servers. Not my load balancer. That's what I mean with hardcoded. I cannot put the URL of the load balancer, as I have 2 Tomcat clusters being served by the same load balancer. Each cluster runs a differe

Re: [EMAIL PROTECTED] Rewrite relative image paths in a reversed proxy setup

2008-11-18 Thread Nick Kew
On Mon, 17 Nov 2008 13:38:21 +0100 Bocalinda <[EMAIL PROTECTED]> wrote: > >ProxyPass balancer://mycluster1 stickysession=JSESSIONID >ProxyPassReverse / >SetOutputFilter proxy-html >ProxyHTMLURLMap (.*\.gif) http://172.18.0.39:8080/$1 Rie > > > This works, however

Re: [EMAIL PROTECTED] Rewrite relative image paths in a reversed proxy setup

2008-11-18 Thread Bocalinda
Sounds perfect. I don't mind having to add a new entry each time I have a new application, since I need to do the same in order to make the application load balance. I wonder if there would be a way to have a default load balancing route.. :) 2008/11/18 André Warnier <[EMAIL PROTECTED]> > Well th

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread André Warnier
Ravindra wrote: Hi, We have been using Apache 2.0.59, and our application as running fine. When we upgrade Apache to 2.2.10, we start getting "500 Internal Server Error" consistently. After looking at error.log, we found following logs: ... [Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] P

[EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread Ravindra
Hi, We have been using Apache 2.0.59, and our application as running fine. When we upgrade Apache to 2.2.10, we start getting "500 Internal Server Error" consistently. After looking at error.log, we found following logs: ... [Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of sc

Re: [EMAIL PROTECTED] Rewrite relative image paths in a reversed proxy setup

2008-11-18 Thread André Warnier
Well then, not to overdo it, but you can use either this RewriteRule ^/(SEDO-NEW|SEDO|ABCD|XYZ)?)$ $1/index.jsp [R=301,L] (and keep on adding alternatives as need be) or this RewriteRule ^/(SEDO)$ $1/index.jsp [R=301,L] RewriteRule ^/(SEDO-NEW)$ $1/index.jsp [R=301,L] RewriteRule ^/(ABCD)$ $1/ind

Re: [EMAIL PROTECTED] Rewrite relative image paths in a reversed proxy setup

2008-11-18 Thread Bocalinda
Hi André. Yes, for now just those two applications are involved. However, it might be that new applications will be added. Thanks a bunch for the tip though! 2008/11/18 André Warnier <[EMAIL PROTECTED]> > Hi. > Now in your case, it was just the 2 URLs "/SEDO" and "/SEDO-NEW" that > needed to be

Re: [EMAIL PROTECTED] debugging my Virtual Hosts

2008-11-18 Thread André Warnier
Tom Evans wrote: On Sun, 2008-11-16 at 02:33 -0500, Paul McFerrin wrote: My Virtual Hosts are not working.. Here is the scoop. Running Apache 1.3 and have the following configuration file: NameVirtualHost pmcferrin.homedns.org:80 [[default virtual hosts definitons]] DocumentRoot /us

Re: [EMAIL PROTECTED] Rewrite relative image paths in a reversed proxy setup

2008-11-18 Thread André Warnier
Hi. Now in your case, it was just the 2 URLs "/SEDO" and "/SEDO-NEW" that needed to be rewritten and cause a re-direct, no ? If so, you could use the following RewriteRule, which should not have these inconvenients : RewriteRule ^/(SEDO(-NEW)?)$ $1/index.jsp [R=301,L] Bocalinda wrote: Hey g

Re: [EMAIL PROTECTED] debugging my Virtual Hosts

2008-11-18 Thread Tom Evans
On Sun, 2008-11-16 at 02:33 -0500, Paul McFerrin wrote: > My Virtual Hosts are not working.. > > Here is the scoop. Running Apache 1.3 and have the following > configuration file: > NameVirtualHost pmcferrin.homedns.org:80 > [[default virtual hosts definitons]] > > DocumentRoot /usr/loc

Re: [EMAIL PROTECTED] Rewrite relative image paths in a reversed proxy setup

2008-11-18 Thread Bocalinda
Hey guys, There is one problem with this solution. RewriteRule ^/([^/]+)$ $1/ [R=301,L] http://172.18.0.1/SEDO/test.html will also be added a trailing slash. I changed the regular expression to NOT add a trailing slash if there is a dot in the string. RewriteRule ^/([^/\.]+)$ $1/ [R=301,L] Let