Re: How to troubleshoot blank pages

2007-12-06 Thread Evan Chaney
I have set: SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader On On Dec 6, 2007, at 10:23 PM, Silent wrote: are you using "SetHandler modperl" in apache config file? if so, please try "SetHandler perl-script" 2007/12/7, Evan Chaney <[EMAIL PROTECTED]

Re: Can't locate object method "session" via package "HTML::Mason::Request::ApacheHandler"

2007-12-06 Thread Fred Moyer
Darragh Gammell wrote: Hi My apologies if this is the second instance this query. I sent the same mail 3 days ago but have not seen it appear on the mailing listso here goes again. Ive recently tried moving a website from an old server which is having hardware issues to a recently purch

Re: How to troubleshoot blank pages

2007-12-06 Thread Silent
are you using "SetHandler modperl" in apache config file? if so, please try "SetHandler perl-script" 2007/12/7, Evan Chaney <[EMAIL PROTECTED]>: > > Hello. > > I am using mod_perl for the first time. When I run my wiki software > without mod_perl enabled it loads fine. When I load it with mod_per

Re: mp1 internal_redirect question

2007-12-06 Thread Silent
# my mod_rerite.conf # section 1 RewriteEngine On RewriteCond %{HTTP_USER_AGENT} Firefox [OR] RewriteCond %{HTTP_USER_AGENT} lwp-request [OR] RewriteRule ^/mp3/aaa\.mp3$/mp3/aaa.html # section 2 RewriteCond %{HTTP_USER_AGENT} MSIE RewriteRule /fake.html /mp3/bbb.mp3 # EOF in

Can't locate object method "session" via package "HTML::Mason::Request::ApacheHandler"

2007-12-06 Thread Darragh Gammell
Hi My apologies if this is the second instance this query. I sent the same mail 3 days ago but have not seen it appear on the mailing listso here goes again. Ive recently tried moving a website from an old server which is having hardware issues to a recently purchased server. Old Server ran:

Re: Client denied/Invalid Argument

2007-12-06 Thread Proneet Biswas
It works when I keep the script in the cgi-bin directory Randy Kobes wrote: On Wed, 5 Dec 2007, Proneet Biswas wrote: Hi, I am a newbie to the mod_perl for Apache . I am trying to run a simple perl script under A

How to troubleshoot blank pages

2007-12-06 Thread Evan Chaney
Hello. I am using mod_perl for the first time. When I run my wiki software without mod_perl enabled it loads fine. When I load it with mod_perl I see blank white pages. There are no messages in the Apache or wiki logs indicating there was trouble. What is the best way to troubleshoot this

Re: mp1 internal_redirect question

2007-12-06 Thread Perrin Harkins
On Dec 5, 2007 11:15 PM, Silent <[EMAIL PROTECTED]> wrote: > I tryed mod_rewrite to redirect base on user_agent, it works very fine! > but I still want to know how to do it in mod_perl. Can you tell us what you did in mod_rewrite? Then we can show you an equivalent for mod_perl. - Perrin

Re: Client denied/Invalid Argument

2007-12-06 Thread Proneet Biswas
I tried with 2.2.4 also. Same issue. It has something to do with permissions. When I try out the example of creating a "Hello World" perl module and put that in the directory c:\perl\site\lib\Apache2, that one seems to work. Any other things which I should be aware off ? Regards Randy Kobes

Re: mp1 internal_redirect question

2007-12-06 Thread Perrin Harkins
On Dec 1, 2007 11:42 PM, Silent <[EMAIL PROTECTED]> wrote: > and I have another server has mod_perl-1.99_09 with apache > httpd-2.0.46-44.ent on redhat es3 update4 > I want to know: which version mod_perl document is related to mod_perl 1.99, > 1.x or 2.x ? 1.99 is a pre-release version of mod_per