Re: apache version check

2007-06-20 Thread _spitFIRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Vanasco wrote: > `httpd -v` is the correct approach. > > honestly, your two questions make no sense in context of one another. > why don't you tell us what you're trying to accomplish-- in the big > picture. > then just call `httpd -v` from

Re: mod perl version

2007-06-20 Thread _spitFIRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Foo JH wrote: > 2 ways: > 1. If you're using Apache 2, you can only using modperl2. There's no > other way. > 2. If you turn on ServerSignature in httpd.conf, you will see the > signature at the footer of a http error page. > > [EMAIL PROTECTED] wrote:

Re: apache version check

2007-06-18 Thread _spitFIRE
John ORourke wrote: > > > use Apache2::ServerUtil; > > IMHO, doesn't this itself mean that you have Apache 2.x.x installed? -- View this message in context: http://www.nabble.com/apache-version-check-tf3940767.html#a11182947 Sent from the mod_perl - General mailing list archive at Nabble.

Re: apache version check

2007-06-18 Thread _spitFIRE
When I don't know where apache is installed, how do I do this? I was asking for a way to write a perl script that would give me the version of apache installed, if possible! pennyyh wrote: > > Try: > $ cd apache_install_dir > $ bin/httpd -v > > This would show you version info. > good luck!

apache version check

2007-06-18 Thread _spitFIRE
How do I check what version of Apache is installed from command line (without using/lodaing mod_perl)? -- View this message in context: http://www.nabble.com/apache-version-check-tf3940767.html#a11177225 Sent from the mod_perl - General mailing list archive at Nabble.com.

apache version check

2007-06-18 Thread _spitFIRE
How do I check what version of Apache is installed from command line (without using/lodaing mod_perl)? -- View this message in context: http://www.nabble.com/apache-version-check-tf3940766.html#a11177224 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: configuring perl module - makefile

2007-06-18 Thread _spitFIRE
Thanks. Perrin Harkins wrote: > > > http://perl.apache.org/docs/general/cpan_mod_dev/cpan_mod_dev.html#Defining_Makefile_PL_Prerequisites_that_Require_mod_perl > > -- View this message in context: http://www.nabble.com/configuring-perl-modulemakefile-tf3928998.html#a11177222 Sent from

configuring perl module - makefile

2007-06-15 Thread _spitFIRE
I made a new perl module using h2xs, and would now like to how to configure the makefile for the module. In particular, I'm interested to know how ti configure the property -'PREREQ_PM'. The problem is that I've written a module in such a way that it works fine both under Apache 1.3.37/mod_per

Re: asynchronous perl authentication!?

2007-06-07 Thread _spitFIRE
Jonathan Vanasco-3 wrote: > > just do an xmlhttprequest to your auth script. > have it redirect to a page that prints 0 if there is no login, 1 if > they are logged in > then have your js handle reading the var. its simple. > > > // Jonathan Vanasco Look at the control flow of Apache AuthC

Re: asynchronous perl authentication!?

2007-06-07 Thread _spitFIRE
Perrin Harkins wrote: > > If it's your AJAX request getting redirected, that shouldn't cause the > page to refresh. It may require some changes to AuthCookie to get the > effect you want though. Or you can go the easy way and use an IFRAME. > > - Perrin > How do I use IFRAME here? Can you

Re: asynchronous perl authentication!?

2007-06-07 Thread _spitFIRE
Hi Adam, You are perfectly right. However, I'm in dire need of a Ajax style login. Do you have any clue on how to go about implementing the sytem? Adam Tistler wrote: > > Even if you use AJAX, the page will still refresh because the AuthCookie > module's authentication method redirect's you b

asynchronous perl authentication!?

2007-06-03 Thread _spitFIRE
Hi All, I have written a simple perl module (using apache authcookie) for authenticating users. However, whenever the user types a wrong password, the entire page refreshes. Is it possible to do a ajax style authentication here??? I'm sorry if my understanding is seriously flawed (I'm still learn

Re: apache->request

2007-05-25 Thread _spitFIRE
perl script was rendered as plain text; So, I thought I will move it to /cgi-bin and oops! now it throws that error :( Perrin Harkins wrote: > > On 5/25/07, _spitFIRE <[EMAIL PROTECTED]> wrote: >> I'm now using Apache 2.0.59 / mod_perl 2.0.3 / Apache:AuthCookie 3.10 >> >

Re: apache->request

2007-05-25 Thread _spitFIRE
hmmm... no luck still! BTW, even trying Apache::AuthCookie 3.10 on Apache 1.3/ mod_perl 1.29 also reports the same problem now! Perrin Harkins wrote: > > On 5/25/07, _spitFIRE <[EMAIL PROTECTED]> wrote: >> I'm now using Apache 2.0.59 / mod_perl 2.0.3 / Apache:AuthCookie

Re: apache->request

2007-05-25 Thread _spitFIRE
Perrin Harkins wrote: > > This problem you're seeing may be a result of long-ago changes in the > mod_perl 1 API, or a bug in the old module that you're using. > > - Perrin > > Thanks for the tip! I'm now using Apache 2.0.59 / mod_perl 2.0.3 / Apache:AuthCookie 3.10 However, I now get th

Re: apache->request

2007-05-24 Thread _spitFIRE
Perrin Harkins wrote: > > Meaning mod_perl 1.30? > >> I tried to deploy the sample code given with AuthCookie-1.3 > > Which module is this? There are many things on CPAN with AuthCookie > in their names, but none of them are version 1.3. > > - Perrin > > Sorry! I meant to say Apache 1.3/

apache->request

2007-05-24 Thread _spitFIRE
Hi all, Before I post my question, I would like to say this - "I'm new to mod_perl and hence bear with my silly questions!". I'm using Mac OSX 10.4.8/Apache 1.3 . I want to currently develop a perl object that I can use for authorization (using AuthCookie). I tried to deploy the sample code giv