On Wed, Jul 20, 2005 at 01:42:24PM +1000, Simon Wong wrote: > I am having a bugger of a time getting a perl script to execute under > Apache2 on an Ubuntu box. > > When I access the file I just get the option to download it, it will not > execute (permissions are set to execute by world at the moment).
Look for the obvious things first, names correct, other spelling mistakes. Is the mod_perl version correct? You got this from this version of Ubuntu OK? The 'HOST' looks sus below. Stas Beckman practical mod_perl is pretty good: http://modperlbook.org/html/ch02_06.html http://modperlbook.org/html/ch25_01.html Also, if you are used to Apache1, there are subtle differences between pre-fork and threaded for Apache2. I think they should be two separate install choices. (That's not your problem here, but it may be later on) > > error.log: > [Wed Jul 20 13:34:30 2005] [notice] Apache/2.0.53 (Ubuntu) > mod_perl/1.99_14 Perl/v5.8.4 mod_ssl/2.0.53 OpenSSL/0.9.7e > configured -- resuming normal operations > Alias /as2proc/ /var/www/HOST/htdocs/as2proc/ Jamie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html