sample modperl script pls

2000-04-28 Thread Jaime Teng

Hi,

I want to learn writing modperl scripts.

Im not referring to any perl scripts that are executed by
Apache::Registry, but rather a perl script that is invoked
by the Apache itself - same level like Apache::Registry.

also, know to fetch the URL. Is it stored in the %ENV?

thanx

Jaime



RE: sample modperl script pls

2000-04-28 Thread Eric Cholet

 Hi,
 
 I want to learn writing modperl scripts.
 
 Im not referring to any perl scripts that are executed by
 Apache::Registry, but rather a perl script that is invoked
 by the Apache itself - same level like Apache::Registry.

You're talking about handlers. The best resource is the Eagle
book (http://www.modperl.com/).

 also, know to fetch the URL. Is it stored in the %ENV?

$r-uri

'perldoc Apache' will give you a list of all the API methods.

--
Eric