Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

mod_perl /Python not working in 1.2 ?
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Programming
View previous topic :: View next topic  
Author Message
mike



Joined: 15 Mar 2004
Posts: 1

Posted: Mon Mar 15, 2004 3:22 pm    Post subject: mod_perl /Python not working in 1.2 ?  

Hi there, great program you've got here, thanks a lot for your work on it.
Sorry if this question has been asked before, but I checked the docs/FAQ 's and couldn't find anything...The mod_perl, Apache::ASP and Python Spyce tests don't work when I try them, they just show the source code instead, like...

Code: print "Content-type: text/html\n\n";
print "<link rel=stylesheet href=style.css>";
print "<center>\n";
print "<span class=span0><span class=span1>\n";
print "<b>Mod_Perl is working fine</b>\n";


Any suggestions on what I could do ? I'm using win xp, haven't made any changes to any config files so far to cause something like this to happen, and everything else is working fine. Thanks
Back to top  
kolatracks



Joined: 07 Jul 2003
Posts: 313
Location: UK

Posted: Mon Mar 15, 2004 3:36 pm    Post subject:  

It's in the changelog
Quote:
disabled the loading of python , mod_perl and apache::asp by default


Indeed I thought this was an error when I got the test version but in 1.2 these modules aren't enabled by default. Mostly to speed up load times I think.
To enable them I suggest you use the apache gui and just check the checkboxes at the top.

Enabling mod_perl will cause the time of startup/shutdown of apache to increase but once apache is started it shouldn't be any slower I don't think since mod_perl is only called when a .pl is called.
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Mon Mar 15, 2004 3:51 pm    Post subject:  

kolatrack is right .. but just a note

it is not bad but it is not recomended either to have CGI Perl and Mod Perl loaded in the same time

be advised
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Programming
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group