... Hash: SHA1 ... Sorry to be rude about this, but no. This *needs* fixing. http://marc.theaimsgroup.com/?l=apache-modperl&m=112005579327997&w=2 - -- ...
66153
Jan Eden
lists@...
Aug 1, 2005 11:27 am
Hi, I just noticed that the working directory for scripts executed via a mod_perl handler is /. Is there a way to change that? Some of the scripts I use rely...
66154
Tom Schindl
tomAtLinux@...
Aug 1, 2005 11:30 am
... Hash: SHA1 If you are running mp2 that's true simply because of the fact that chdir in perl is not thread-safe :-( If you are running in prefork(which is...
66155
Jan Eden
lists@...
Aug 1, 2005 1:19 pm
Hi Tom, ... That's what I feared: There is really no way to determine the working directory in the mod_perl 2 configuration phase. Thanks, Jan -- How many...
66156
Tom Schindl
tomAtLinux@...
Aug 1, 2005 1:36 pm
... Hash: SHA1 In Apache 1.3 this has been done by mp automatically when executing under PerlRun or Registry but because of the oulined problems this is not...
66157
Philip M. Gollucci
pgollucci@...
Aug 1, 2005 3:18 pm
... Okay So I read this thread. Whats wrong with: (from your own post) ... Why is that not trustworth ? Are you saying you want a onliner function to return...
66158
Philip M. Gollucci
pgollucci@...
Aug 1, 2005 3:22 pm
... http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends As it will say, use ModPerl::RegistryPrefork...
66159
Dominique Quatravaux
dom@...
Aug 1, 2005 4:30 pm
... Hash: SHA1 ... Thanks! ... Because we are obviously not *running* under mod_perl, but rather, from a command-line Perl interpreter. The $mod_perl2::VERSION...
66160
Philip M. Gollucci
pgollucci@...
Aug 1, 2005 4:43 pm
... Okay, I at least understand what you are saying now. I think what you're getting at is that (other then ENV tampering) is that the websver once it sees and...
66161
Joe Schaefer
joe+gmane@...
Aug 1, 2005 4:50 pm
... I like the second-best option, actually: IMO "require mod_perl2" should throw an exception unless we're actually running under the mod_perl.so interpreter....
66162
Joe Schaefer
joe+gmane@...
Aug 1, 2005 4:59 pm
... I should have pointed out tho that a change like this certainly shouldn't happen in mp2.0. For better or worse, we chose to use $ENV{MOD_PERL} to signal...
66163
Richard Leopold
modperl@...
Aug 1, 2005 5:55 pm
MOIn ! The documentation explains how to do "Apache Server Configuration Customization in Perl" and the SERVER_CREATE/DIR_CREATE mechanism to set defaults. But...
66164
Dominique Quatravaux
dom@...
Aug 1, 2005 6:14 pm
... Hash: SHA1 ... Part of the problem indeed. There are other practical problems (e.g. PerlSetupEnv Off used to disable $ENV{MOD_PERL} under mod_perl 1.3, ...
66165
Boysenberry Payne
boysenberry@...
Aug 1, 2005 9:13 pm
Hello All, I've got a two server platform one a static server for files and runs the mysql server and the other runs mod_perl. I'm trying to figure out the...
66166
Philip M. Gollucci
pgollucci@...
Aug 1, 2005 9:21 pm
... You might try an NFS mount between the too. mount_nfs -L server:/path /local/path (FreeBSD)...
66167
Gedanken
gedanken@...
Aug 1, 2005 9:29 pm
On Mon, 1 Aug 2005, Philip M. Gollucci wrote: There is a running joke in my office that, no matter what the problem is, I simply blame NFS before hearing any...
66168
Philip M. Gollucci
pgollucci@...
Aug 1, 2005 9:33 pm
... I agree with that whole hardly. (the p6m7g8.net cluster is doing that) As long as you don't reboot its great though :)...
66169
Philippe M. Chiasson
gozer@...
Aug 1, 2005 10:13 pm
... Wouldn't HTTP HEAD request achieve this fairly nicely ? I am not sure you have described the actual problem you are trying to solve. Why is that...
66170
Boysenberry Payne
boysenberry@...
Aug 1, 2005 10:29 pm
The server system is hosted with a third party, so I was hoping I could use mod_perl as a solution without resorting to involving them in the solution if ...
66171
Philip M. Gollucci
pgollucci@...
Aug 1, 2005 10:31 pm
... Specifically what information do you need from this file server ? directories, path names, file names, mod_times, access_time times, size..... etc ?...
66172
Boysenberry Payne
boysenberry@...
Aug 1, 2005 10:36 pm
I'm not sure if HEAD would work. Basically, I'm trying to read a directory's files. After I confirm a file exists and doesn't have zero size I check that it...
66173
Philip M. Gollucci
pgollucci@...
Aug 1, 2005 10:54 pm
... We actually do something very similar to this involving pictures being uploaded from a digital camera to eventually be published on a website. Cronjob1: ...
66174
William A. Rowe, Jr.
wrowe@...
Aug 1, 2005 10:59 pm
Randy, thanks for all you efforts on this! Question before folks trip, was your 0.3 specific to httpd.exe and the apr-1 layout, or did you finish making this...
66175
Boysenberry Payne
boysenberry@...
Aug 1, 2005 11:13 pm
I've already got it working using Net::FTP. The problem is it runs slow using FTP. Here is an example of what I'm trying to do: my $h = $ftp->{handle}; ...
66176
Randy Kobes
randy@...
Aug 1, 2005 11:36 pm
... Can you get someone on the remote server to do a cd top_level_directory ls -lR > ls-lR # or find -fls find-ls gzip ls-lR # or gzip find-ls ...
66177
Randy Kobes
randy@...
Aug 1, 2005 11:41 pm
... I tried to make the 0.3 version generic to both Apache 2.0 and 2.1-dev+ (there were only a couple of changes needed beyond your patch); if I missed...
66178
Boysenberry Payne
boysenberry@...
Aug 2, 2005 1:10 am
$ftp->{handle} = Net::FTP->new( $ftp->{host}, Passive => 1 ) or die "Can't create new ftp with host: $ftp->{host}"; It's part of my FTP module Thanks, ...
66179
Philip M. Gollucci
pgollucci@...
Aug 2, 2005 5:56 am
... Whats this ftp->{handle} stuff ? Shouldn't it just be $ftp->xxx Thats not in perldoc Net::FTP. Are you using a relatively new version of it ? We've got...
66180
Goddard Lee
lee.goddard@...
Aug 2, 2005 8:44 am
... I trust "you" are putting thousands into perl, mod_perl and other good things, then ;)...
66181
John ORourke
john-modperl@...
Aug 2, 2005 12:15 pm
(apologies if you get this twice) (mp 2.0.1, libapreq2-2.06-dev, httpd 2.0.51, Fedora Core 2) Hi folks, I've spent 2 days trying simply to read and write...