Re: the scripts under mod_perl are running as mod_cgi

2004-12-03 Thread INFOQUEST USA INC
I am glad that your installtion is successful. I would suggest you to buy some books specially 'Practical modperl by Stas. You can always ask the author here, if you need any help, which I consider a rare opportunity. By the way, Authen::Captcha has some problem with mod_perl. Check the link here:

Re: the scripts under mod_perl are running as mod_cgi

2004-12-03 Thread Michael Peters
INFOQUEST USA INC wrote: I am going to design a auto-installer for mod_perl as many of my customers is not comfortable installing it. I will post it here soon. you should really check out ApacheToolBox (http://apachetoolbox.com/). It's really easy to use to install apache/mod_perl/php, and a

Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread INFOQUEST USA INC.
Stas is right. You have a problem in your httpd.conf file. Check the section : IfModule mod_alias.c ... /IfModule you probably have a line ScriptAlias /cgi-bin/ /usr/local/http_perl/cgi-bin/ change is to: Alias /perl/ /home/user-name/public_html/cgi-bin/ and also if you have the following line:

Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread Stas Bekman
INFOQUEST USA INC. wrote: Stas is right. You have a problem in your httpd.conf file. Check the section : IfModule mod_alias.c ... /IfModule you probably have a line ScriptAlias /cgi-bin/ /usr/local/http_perl/cgi-bin/ change is to: Alias /perl/ /home/user-name/public_html/cgi-bin/ right. and also

Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread SHAHNAWAZ OSMAN
I have those lines in my http.conf in mod_alias section and I changed those as per your suggestion but still it's not working. __ Post your free ad now! http://personals.yahoo.ca -- Report problems:

Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread SHAHNAWAZ OSMAN
Sorry, I guess I spoke too soon. I didn't see the next message from Stas. I just created a directory (mkdir /usr/local/httpd_perl/perl) and it's working!!! Thanks to Stas and Khalid both of you. Now, my Authen::Captcha is not working under mod_perl. Is it a bug or it's just a bad code? Thanks

the scripts under mod_perl are running as mod_cgi

2004-12-01 Thread SHAHNAWAZ OSMAN
Hi! I have been trying to configure two servers under Linux (CentOS-3.3) - one vanilla (frontend) one mod_perl (backend) enabled server with a proxy setting in the front end. The frontend server is on port: 80 and the backend is on port 8000 and they are both in the same IP. The installation

Re: the scripts under mod_perl are running as mod_cgi

2004-12-01 Thread Stas Bekman
SHAHNAWAZ OSMAN wrote: Hi! I have been trying to configure two servers under Linux (CentOS-3.3) - one vanilla (frontend) one mod_perl (backend) enabled server with a proxy setting in the front end. The frontend server is on port: 80 and the backend is on port 8000 and they are both in the same

Re: the scripts under mod_perl are running as mod_cgi

2004-12-01 Thread SHAHNAWAZ OSMAN
Hi Stas, Thank you for your speedy response. Now, when I try to run the script (http://www.mydoamin.com/perl/test.pl) I get a 404 - file not found page and get the following message in the error log. /usr/local/httpd_perl/cgi-bin/test.pl not found or unable to stat I was

Re: the scripts under mod_perl are running as mod_cgi

2004-12-01 Thread Stas Bekman
SHAHNAWAZ OSMAN wrote: Hi Stas, Thank you for your speedy response. Now, when I try to run the script (http://www.mydoamin.com/perl/test.pl) I get a 404 - file not found page and get the following message in the error log. /usr/local/httpd_perl/cgi-bin/test.pl not found or unable to stat I