Thanks but I don't understand.

I thought all the .cgi programs are executed because of mod_cgi Apache
module. Is this right?
I can see that if I create a .cgi program that only prints an HTML file, I
can GET it from an Apache server only partially, using the "Range" HTTP
header.
However, I saw that I cannot do this with a .php file.

Didn't you want to say that this don't work with mod_perl and not mod_cgi?

I think I have some more questions to put about this subject so please tell
me if you know where can I find some more information on the web about this.

Thank you.

Teddy,
Teddy's Center: http://teddy.fcc.ro/
[EMAIL PROTECTED]



----- Original Message -----
From: "Randal L. Schwartz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 16, 2003 6:16 PM
Subject: Re: range:


>>>>> "Octavian" == Octavian Rasnita <[EMAIL PROTECTED]> writes:

Octavian> Do you know which servers don't support or which can be set
Octavian> not to accept the following HTTP header?

Octavian> Range: bytes=x-y

Octavian> ...meaning that that server allows resuming the downloads.

It's not a "server" thing.  mod_cgi-based programs certainly won't
understand it, unless they're specially programmed to do so.

For core Apache serving, it'll work fine.

Octavian> Is possible to set Apache not to allow this, so each visitor
Octavian> should get an entire page?

Not sure what the purpose here is.  What problem are you trying to solve?
If you don't want to serve partial content, then don't. :)

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
training!


Reply via email to