Re: how to send a page and a file at a download script?

2008-09-23 Thread Greg Jetter
On Monday 22 September 2008 12:38:21 pm shnaxe wrote: > dear readers, > > i recently finished a small perl-cgi download script that sends files > after some checks and logging. i call this script through a link on a > static html-page and pass the file-id as a parameter. > > this all works nice so

Re: cgi and ssh

2008-09-23 Thread David Dorward
Dermot Paikkos wrote: > Hi, > > I have a cgi script that needs scp a file from one server to another. > Because the script runs under the httpd user With suEXEC you can run that script (and only that script) under an account you create with otherwise very limited privileges. http://httpd.apache.o

cgi and ssh

2008-09-23 Thread Dermot Paikkos
Hi, I have a cgi script that needs scp a file from one server to another. Because the script runs under the httpd user, for this to work without prompting for password, I need to do a lot of configuring that I am not sure would be consider good practise. For example: the httpd user's account t

Re: how to send a page and a file at a download script?

2008-09-23 Thread Wiggins d'Anconia
shnaxe wrote: > dear readers, > > i recently finished a small perl-cgi download script that sends files > after some checks and logging. i call this script through a link on a > static html-page and pass the file-id as a parameter. > > this all works nice so far, the part where i'm stuck at is th

how to send a page and a file at a download script?

2008-09-23 Thread shnaxe
dear readers, i recently finished a small perl-cgi download script that sends files after some checks and logging. i call this script through a link on a static html-page and pass the file-id as a parameter. this all works nice so far, the part where i'm stuck at is that with clicking on the link