one other thing I forgot, because apache uses the perl module to handle files within the dir that you set up, you can give the files any extension you like or even leave it off, it means you can have pretty url's like www.mywebsite/apps/niceapp they're also not so obvious which might slow the odd hacker down.
I'll shut up now :-) Martin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 27 November 2002 09:25 To: [EMAIL PROTECTED] Subject: RE: Apache won't run perl scripts Martin There's no urgency on this so whenever you've got the time. Yes I am in the UK. Andy Internet [EMAIL PROTECTED] - 27/11/2002 06:49 To: Andy PARKER cc: Subject: RE: Apache won't run perl scripts Hi Andy, No prob, I'm a little tied up today but I should be able to get some more info to you tomorrow, are you in the UK? Martin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 11:36 To: [EMAIL PROTECTED] Subject: RE: Apache won't run perl scripts Martin Thanks for replying. I'd appreciate an extract of a config file just to see if there's some value I've missed. Thanks Andy Internet [EMAIL PROTECTED] - 25/11/2002 19:33 To: Andy PARKER, vmsperl cc: Subject: RE: Apache won't run perl scripts Have you installed mod_perl?, I'm not saying you can't run scripts without it but I've had no problems with, perl 5.6.1 vms 7.3 apache 1.3.20 and the supported version of mod perl. When you install mod_perl it adds directives to some of the conf files that you need. There's may be an easier way but maybe this will help. I could also mail you extracts of an apache config file if that would help. Martin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 25 November 2002 13:56 To: [EMAIL PROTECTED] Subject: Apache won't run perl scripts I've installed Apache 1.3.20 on an Alpha running VMS 7.3-1 and am trying to use perl v5.6. Perl is installed fine and runs without problem from the command line. However, when I try and run a perl cgi script using the browser I get "Internal Server Error". The problem seems to be that Apache want's to run everything as a DCL command file as when I look in ERROR_LOG I see the warning "malformed header from script. Bad header=%DCL-W-NOCOMD, no command on l: ". Can someone please tell me how I get round this. This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.