Plain text please...

You have to set DirectoryIndex for the cgi dir as you would for any index file 
in a normal directory, ie:

DirectoryIndex index.pl

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


-----Original Message-----
From: Oliver Kirchel [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 19. Mai 2005 10:34
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Execute perl Script


Hi,
I'm running Apache/2.0.53 on a Linux System.
My problem is that I want to execute a perl-script with the name index.pl

If I type the URL f.e.: http://222.222.222.222/cgi-bin/index.pl everything is 
fine.

But if I type http://222.222.222.222/cgi-bin/ I get the following error in the 
error-log.

[Thu May 19 10:27:16 2005] [error] [client 222.222.222.222] attempt to invoke 
directory as script: /srv/www/cgi-bin/

What I have to change in the httpd.conf or in the default-server.conf ?

Many greetings
Olli

Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to