Re: PerlSendHeader On

2003-03-20 Thread Perrin Harkins
the SetHandler and add PerlHandler so it runs through mod_perl? It doesn't work anymore... (I added PerlSendHeader On, too) Do you have any ScriptAlias statements in your conf file? Have you tried changing from Options ExecCGI to Options +ExecCGI? I think you should try to strip down the conf file

Re: PerlSendHeader On

2003-03-18 Thread Bleicke Holm
Perrin Harkins wrote: Bleicke Holm wrote:  I continue to get returned the source-code. Searching the doc and faqs it looks as if I should turn on PerlSendHeader. But that's already done! Make sure the file is executable by the user that the server is running as. I've checked that one

Re: PerlSendHeader On

2003-03-18 Thread Perrin Harkins
Bleicke Holm wrote: Also, make sure that mod_perl is actually running by checking the error_log as described in the docs. For the time being there is no error message at all dans the error_log. I was actually referring to this:

Re: PerlSendHeader On

2003-03-16 Thread Perrin Harkins
Bleicke Holm wrote: I am quite desperately trying to get mod_perl working. I continue to get returned the source-code. Searching the doc and faqs it looks as if I should turn on PerlSendHeader. But that's already done! Make sure the file is executable by the user that the server is running

PerlSendHeader On

2003-03-15 Thread Bleicke Holm
Hi, I am quite desperately trying to get mod_perl working. I continue to get returned the source-code. Searching the doc and faqs it looks as if I should turn on PerlSendHeader. But that's already done! Also ExecCGI should be activated for the location. In summary: http://foot/cgi-bin/test.pl

PerlSendHeader and $r-header_out

2002-07-25 Thread Rafiq Ismail (ADMIN)
into the right place. If I call $r-send_http_header right after my $r-header_out(set_stuff) directive, and then call $r-print(page contents), I get: page_contents HTTP_HEADERS DISPLAYED HERE (INCLUDING COOKIE HEADER) Now, I experimented with PerlSendHeader being set to On, whilst disabling the call to $r

PerlSendHeader

2001-11-20 Thread Gregor Mosheh
I need mod_perl to not send the Content-type header when a program is run. Despite the Off value of the PerlSendHeader variable in httpd.conf, the header is still being sent. This test program still sends an extraneous Content-type header: print Content-type: text/html\n\n; print h1Hello

Re: PerlSendHeader

2001-11-20 Thread Gregor Mosheh
Thanks, Tom. Yep, this does the job just fine and allows me to send the Content-type later: print HTTP/1.1 OK\n; Is ignoring PerlSendHeader considered a feature? ;) -gm On Tue, 20 Nov 2001, Tom Mornini wrote: This took me a LONG time to deal with when I was new to mod_perl... Apache

please disregard this: [bug] PerlSendHeader On doesn't parse octal\r\n

2001-03-31 Thread Stas Bekman
shame on me, at some point I've commented out perlsendheader on :( everything is fine... sorry about that... must be a jetlag On Sat, 31 Mar 2001, Stas Bekman wrote: While verifying the correctness of the example in the book: print "Content-type: text/plain\012\015\012\015"

Re: Update: Re: PerlSendHeader Off socket persistence (was Re:question: usingApache for non-HTML messages)

2000-10-02 Thread B. Burke
the header from the script, the socket persistence worked with PerlSendHeader Off. So I guess I solved my problem although I don't really know why. because CGI.pm will trigger a call to $r-send_http_header, regardless of PerlSendHeader settings. whereas: "print Content-type: text/htm

Re: Update: Re: PerlSendHeader Off socket persistence (was Re:question: usingApache for non-HTML messages)

2000-10-02 Thread Doug MacEachern
On Mon, 2 Oct 2000, B. Burke wrote: Why would the lack of a $r-send_http_header call cause socket persistence to go away? I was under the impression that $r-send_http_header only affected what was sent to the client, but appearantly it affects Apache's socket handling as well. because

Re: Update: Re: PerlSendHeader Off socket persistence (was Re:question: usingApache for non-HTML messages)

2000-09-29 Thread Doug MacEachern
On Thu, 28 Sep 2000, B. Burke wrote: Once I changed how I was printing the header from the script, the socket persistence worked with PerlSendHeader Off. So I guess I solved my problem although I don't really know why. because CGI.pm will trigger a call to $r-send_http_header, regardless

Re: PerlSendHeader Off socket persistence (was Re: question: usingApache for non-HTML messages)

2000-09-28 Thread Doug MacEachern
On Wed, 27 Sep 2000, B. Burke wrote: When I set PerlSendHeader to Off in my perl.conf it doesn't send headers, which is good. The bad part is that it seems to break socket persistence for some reason. When I have PerlSendHeader set to On, I can open a socket with my test client

Update: Re: PerlSendHeader Off socket persistence (was Re: question: usingApache for non-HTML messages)

2000-09-28 Thread B. Burke
open and send receive multiple messages. When I set PerlSendHeader to Off, the socket closed after the 1st query. I finally had success with socket persistence when I tried using CGI to print the header by replacing this: print "Content-type: text/html\n\n"; with this: print header(

PerlSendHeader Off socket persistence (was Re: question: using Apache for non-HTML messages)

2000-09-27 Thread B. Burke
When I set PerlSendHeader to Off in my perl.conf it doesn't send headers, which is good. The bad part is that it seems to break socket persistence for some reason. When I have PerlSendHeader set to On, I can open a socket with my test client, and make multiple queries on the same socket. Any

perlSendHeader On/Off: the difference!

2000-07-02 Thread will trillich
perlSendHeader On / Off -- what's the real difference? i finally figured it out, after seeing many 'server errors' on one hand, and http headers cluttering up the html output to the browser on the other... i have a perl script test.npl and a symbolic link to it `ln -s test.npl

PerlSendHeader

2000-04-29 Thread Benjamin Reed
I've turned off PerlSendHeader, but no matter what I do, it seems that I'm already getting headers before I ever print anything. I have the following in my httpd.conf: ---(snip!)--- Alias /perl/ /home/httpd/perl/ Location /perl SetHandler perl-script PerlHandler Apache::Registry

Re: PerlSendHeader

2000-04-29 Thread Frank D. Cringle
"Benjamin Reed" [EMAIL PROTECTED] writes: I've turned off PerlSendHeader, but no matter what I do, it seems that I'm already getting headers before I ever print anything. If you turn PerlSendHeader off, you are responsible for sending the headers yourself. In the Apache API, and