[Pas-dev] comingling cgi's with psp's
Status: Beta
Brought to you by:
mortis
From: Mental <Me...@Ne...> - 2002-03-04 21:38:33
|
Hey. This is just an FYI, but when you setup pas with the following method: PerlInitHandler Apache::StatINC PerlSetEnv PAS_BASE "/usr/local/httpd/" PerlRequire /usr/local/httpd/src/startup.pl <Location /> SetHandler perl-script PerlHandler Org::Bgw::Pas::RequestHandler </Location> It kind of breaks other handlers you have for cgi's/whatnot. What I've done, and what may save others a few minutes on apache.org's site, is setup my environment to allow psp's and cgi's to coexist. In the DocumentRoot's Directory section of your httpd.conf do this: <Directory "/usr/local/httpd/htdocs"> Options Indexes -FollowSymLinks +Includes MultiViews +ExecCGI AllowOverride None Order allow,deny Allow from all <Files *.psp> SetHandler perl-script PerlHandler Org::Bgw::Pas::RequestHandler </Files> </Directory> This way your aliases like /server-info and /perl-status will continue to be handled by their appropriate Handlers. Just a quick tip. I'll update the docs in cvs later tonight. -- Mental (Me...@Ne...) There was a power outage at a department store yesterday. Twenty people were trapped on the escalators. --Steven Wright GPG public key: http://www.neverlight.com/Mental.asc |