Re: Apache::Test not finding global config file

2005-09-02 Thread Geoffrey Young
> I've been thinking a bit about this and I think the attached is a better > patch. ugh, wrong patch. sorry --Geoff Index: lib/Apache/TestConfigParse.pm === --- lib/Apache/TestConfigParse.pm (revision 267203) +++ lib/Apache/TestCon

Re: Suggestions for creating an archive

2005-09-02 Thread Dermot Paikkos
On 2 Sep 2005 at 10:20, Perrin Harkins wrote: > On Fri, 2005-09-02 at 11:34 +0100, Dermot Paikkos wrote: > I don't really understand why you have two scripts. You should just let > apache handle serving the zip as a static file. It's much better at > that than any script you write will be, sinc

Re: Suggestions for creating an archive

2005-09-02 Thread Perrin Harkins
On Fri, 2005-09-02 at 11:34 +0100, Dermot Paikkos wrote: > I did get carried away abit with the redirection, I was thrahing around > by that time. Interestingly you haven't use content-dispostion either. It has no effect on a redirect. > In the end I created 2 scripts, one to archive and dump th

RE: Suggestions for creating an archive

2005-09-02 Thread Chris Werner
Title: RE: Suggestions for creating an archive colin_e wrote: > a) User invokes script as "script.pl" > > b) Script redirects to "script_downloader.zip" >    (But configure Apache to pass this back to the original script). > I'm sorry, maybe this is obvious [but not to me!] how do you d

Re: Apache::Test not finding global config file

2005-09-02 Thread Geoffrey Young
William McKee wrote: > On Wed, Aug 31, 2005 at 11:54:57AM -0400, Geoffrey Young wrote: > >>$self->{httpd_basedir}, which looks to be calculated based on the location >>of the httpd binary. but it looks like it ought to be using HTTPD_ROOT >>instead. at least if it's defined. >> >>try this (com

Re: Suggestions for creating an archive

2005-09-02 Thread Dermot Paikkos
On 1 Sep 2005 at 12:40, Perrin Harkins wrote: > > The Location header is for redirects, not for internal redirects. > You're doing too many things at once here. Just drop all of this and do > a normal redirect to the file. You can use CGI.pm's redirect() > function, or do something like this (mo