--- Jeff Herbeck <[EMAIL PROTECTED]> wrote:
> I want to be able to have webtv users (who can't save files locally)
> to each have their own user account to log into the apache login,
> then
> type a URL of a file that they want to put into their own
> folder/webspace.
Yes, then once they are au
I want to be able to have webtv users (who can't save files locally)
to each have their own user account to log into the apache login, then
type a URL of a file that they want to put into their own
folder/webspace.
Jeff
On Mon, 18 Oct 2004 16:08:44 -0700 (PDT), Bill Jones
<[EMAIL PROTECTED]> w
--- Jeff Herbeck <[EMAIL PROTECTED]> wrote:
> but the directory it goes to has to be owned by "apache". Is there
> any way it can be made to be owned by the remote user?
Dynamically set ownership of an unknown user? Yes -
But why would you want to do that?
-Sx-
=
-Sx-
seeking employmen
I have this working now:
#!/usr/bin/perl
use strict;
use warnings;
use HTTP::Response;
use LWP::Simple 'getstore';
my $url = 'http://www.jeffherbeck.com/arch.doc';
my $remote_user = $ENV{REMOTE_USER};# || 'unknown_user';
my $file= 'newfile.txt';
my $response= HTTP::Response-
[this is not a question - it is just a small follow-up]
This code only gives me 404 File Not found --
which is correct behaviour -
#!/usr/bin/perl
use strict;
use warnings;
use HTTP::Response;
use LWP::Simple 'getstore';
my $url = 'http://insecurity.org/test.doc';
my $remote_user = $E
--- Jeff Herbeck <[EMAIL PROTECTED]> wrote:
> 192.168.1.200 - - [18/Oct/2004:07:36:06 -0500] "GET
> /cgi-bin/test/test.cgi HTTP/1.1" 401 1248 "-" "Mozilla/4.0
> (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
> 127.0.0.1 - - [18/Oct/2004:07:36:11 -0500] "GET /arch.doc HTTP/1.1"
>
This is the only log file that had been modified after I tried to run
the script. It was access_log
192.168.1.200 - - [18/Oct/2004:07:36:06 -0500] "GET
/cgi-bin/test/test.cgi HTTP/1.1" 401 1248 "-" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Oct/
--- Jeff Herbeck <[EMAIL PROTECTED]> wrote:
> This code gives me a 500 internal server error.
And the WWW Server Logs say - what?
-Sx-
=
-Sx-
seeking employment: http://youve-reached-the.endoftheinternet.org/
___
Do you Yahoo!?
Declare Yourse
This code gives me a 500 internal server error.
On Thu, 14 Oct 2004 10:39:48 -0500, Charles K. Clarkson
<[EMAIL PROTECTED]> wrote:
> Jeff Herbeck <[EMAIL PROTECTED]> wrote:
>
> : Hello,
>
>
> :
> : I want to be able to have a user login with apache
> : authentication (which I have that part wo
Jeff Herbeck <[EMAIL PROTECTED]> wrote:
: Hello,
:
: I want to be able to have a user login with apache
: authentication (which I have that part working) and then
: take a URL from a form and download the file in that url
: and put it in a directory for that user. Here is what I
: have so far. I
On Thu, Oct 14, 2004 at 09:09:00AM -0500, Jeff Herbeck wrote:
> Here is what I have so far. It runs, but it doesn't do anything but
> display "aaa"
>
> #!/usr/bin/perl
Where are use strict and use warnings?
> getstore("$URL", "/var/www/html/$remote_user/");
According to the perldoc for getst
On Thu, 14 Oct 2004, Jeff Herbeck wrote:
> getstore("$URL", "/var/www/html/$remote_user/");
LWP::Simple's getstore() method takes a URL and a file as arguments.
You've given it a URL and a directory.
Try something like this:
getstore("$URL", "/var/www/html/$remote_user/foo");
(Note that i
12 matches
Mail list logo