Thanks I will set that up try it. By the way the apache in Mandrake 8.2 and cooker now have expat removed...AxKit compiles and runs just fine now.
Ray On Thu, 2002-03-28 at 14:26, Tod Harter wrote: > Yep, Michael is correct. You can make AxKit requests be proxied simply by > modifying the rewrite rules for the main server, just put something like this > in your httpd.conf (there should already be something close to this in there). > > <IfDefine PERLPROXIED> > RewriteEngine on > RewriteRule ^proxy:.* - [F] > RewriteRule ^(.*\/perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P] > RewriteRule ^(.*\/cgi-perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P] > RewriteRule ^(.*\.xml)$ http://%{HTTP_HOST}:8200$1 [P] > RewriteRule ^(.*\.xsl)$ http://%{HTTP_HOST}:8200$1 [P] > RewriteRule ^(.*\.xsp)$ http://%{HTTP_HOST}:8200$1 [P] > </IfDefine> > > The last 3 RewriteRule directives bounce xsp, xsl, and xml files over to the > perl server. Actually I don't know any reason why you need to proxy xslt, its > probably just as well to leave that rule out. You would also need a rule for > XPathScript (xps usually) if you want to use that. Other content systems like > mason or whatever you will also want to make rules for. > > It seems like a bit of a complex setup, but once you have it going you can > get some really nice performance. I would also note that generally your error > log will be perl-error_log. > > One bad thing about all this is that as of the latest RPM I installed > Mandrake was still building their Apache incorrectly, causing expat problems > :(. I had to install the source RPMs (which you will need to build libapreq > anyway) and then rebuild mod_perl/Apache to link against the standard expat > (which means you will need the devel version of expat as well....). > > On Thursday 28 March 2002 15:31, Michael A Nachbaur wrote: > > This threw me at first too. Mandrake Linux comes default with Apache > > configured using the proxied mod_perl method that is recommended in the > > mod_perl Guide. So, any perl requests are proxied to a separate apache > > process running on port 8200. > > > > commonhttpd.conf is common to both processes. httpd.conf is the Apache > > process running on port 80, and httpd-perl.conf is the one running on > > 8200. > > > > I'm not sure exactly how to make it proxy AxKit requests, since I only > > use Mandrake as my development/desktop machine (I go straight to port > > 8200). > > > > Hope this helps. > > > > On Thu, 2002-03-28 at 08:20, Ray Carlino wrote: > > > when using the new conf files > > > > > > > > > commonhttpd.conf > > > httpd-perl.conf > > > httpd.conf > > > > > > Which one do you put the perlmodule lines???? > > > > > > PerlModule AxKit > > > AddHandler axkit .xml > > > AddHandler axkit .xsp > > > AddHandler axkit .dkb > > > AxDebugLevel 10 > > > PerlSetVar AxXPSInterpolate 1 > > > > > > Ray > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
