Re: must I use mod-perl

2003-07-13 Thread Oskar
Install it if you have a lot of time. It took me week to config it and month
for rewritting scripts.
Oskar



Flushing

2003-07-06 Thread Oskar



Hi,
I have script that is doing some time 
consuming operations hence have set $|=1 to disable buffering. It works 
correctly in command line but when I run it as cgi it does buffers 
everything and flushing does not work. After reaching timeout limit it displays 
server error. I have apache 1.3
Does anyone here has suggestion how to prevent it 
(other then increasing the timeout limit because it then returns 404 to 
client)?
Thanks Oskar


Invalid method in request

2003-06-20 Thread Oskar



Hi,
everytime I am trying post form with 
enctype="multipart/form-data" it does not send any data and Apache reports 
errror: Invalid method in request -some boundary 
key.
All methods of request are permitted on 
that directory.
Single post works ok.
Any solution?
Oskar


Re: Current directory

2003-06-17 Thread Oskar
I already read that article before posted the message here but it does not
solve the problem: I am running more than one web so the adding of each
particular directory seems to me little bit dumb. Also i dont see the reason
why the current dir should be changed to the dir different from the script
dir.
Any other suggestion to solve it?
Oskar
- Original Message -
From: "Thomas Klausner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 9:41 AM
Subject: Re: Current directory


> Hi!
>
> On Tue, Jun 17, 2003 at 02:19:49AM +0200, Oskar wrote:
>
> > when I am executing perl script on Apache it seems that the current
> > directory is not the directory where the script is located but the
directory
> > c:\program files\apache group\apache. I need current dir to be the
script
> > dir since i have some pm in the script directories.
> > I have apache 1.3.27 and mod_perl 1.
>
> See:
> http://perl.apache.org/docs/1.0/guide/porting.html#_INC_and_mod_perl
>
>
> --
> #!/usr/bin/perl   http://domm.zsi.at
> for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
>
>



Current directory

2003-06-16 Thread Oskar



Hi,
when I am executing perl script on Apache it 
seems that the current directory is not the directory where the script is 
located but the directory c:\program files\apache group\apache. I need 
current dir to be the script dir since i have some pm in the script 
directories.
I have apache 1.3.27 and mod_perl 1.
Thanks Oskar


Need help again

2003-06-14 Thread Oskar



Hi,
Thx for help, finally installing Apache 1.3 put 
mod_perl to work.
I have another question. 
Now I have Apache configured to interpret in perl 
all files in particular directory. But I want perl to be accessible on 
whole site and just files with particular extensions should be interpreted in 
perl.
Is it possible to do it?
Oskar


Help pls

2003-06-13 Thread Oskar



Hi,
I have probs with installing mod_perl onto apache 
server. PPM installed the mod_perl without 
probs so I added the LoadModule perl_module "modules/mod_perl.so" directive into 
http.conf.
Now everytime apache is starting it does not start 
and returns error message:
Syntax error on line 992 of c:/Program Files/Apache 
Group/Apache2/modules/mod_perl.so into server: Module was not 
found.
The file mod_perl.so is in correct location. Spent 
hours searching web for solution but only thing I've found is to add LoadFile 
"C:/Perl/bin/perl56.dll" into http.conf before the LoadModule perl_module 
"modules/mod_perl.so" directive but it does not work neither.
Can someone help me pls?
I have xp professional, ver. of Apache 2.0.46 and 
built of perl is 635.
Oskar


HI

2003-06-12 Thread Oskar



Hi