Hi,
OK, sorry is my first post.
I changed it, like Joshua said.
I put in the default-server.conf instead of
ScriptAlias /cgi-bin "/srv/www/cgi-bin/"
<Directory "/srv/www/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
this
Alias /cgi-bin /srv/www/cgi-bin/
<Directory /srv/www/cgi-bin>
Options ExecCGI
SetHandler cgi-script
DirectoryIndex index.pl
</Directory>
Here is the result what the browser said:
------------------------------------------------------------------------
-------------------------------------------------------
Zugriff verweigert!
Der Zugriff auf das angeforderte Verzeichnis ist nicht m�glich. Entweder
ist kein Index-Dokument vorhanden oder das Verzeichnis ist
zugriffsgesch�tzt.
Sofern Sie dies f�r eine Fehlfunktion des Servers halten, informieren
Sie bitte den Webmaster hier�ber.
Error 403
------------------------------------------------------------------------
-------------------------------------------------------
Sorry it is german but the most important part, I think, is the Error
403.
And here is the part of the error_log:
[Fri May 20 09:11:54 2005] [error] [client 222.222.222.222] attempt to
invoke directory as script: /srv/www/cgi-bin/
Olli
> -----Urspr�ngliche Nachricht-----
> Von: Boyle Owen [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 20. Mai 2005 09:03
> An: [email protected]
> Betreff: RE: [EMAIL PROTECTED] Execute perl Script
>
>
>
>
> > -----Original Message-----
> > From: Oliver Kirchel [mailto:[EMAIL PROTECTED]
> > Sent: Freitag, 20. Mai 2005 08:57
> > To: [email protected]
> > Subject: AW: [EMAIL PROTECTED] Execute perl Script
> >
> >
> > Hi,
> > I tried it without ScriptAlias but it doesen't work either.
> Any other
> > ideas ?
>
> Please don't ever say "it doesn't work"... what *exactly* happens:
>
> - what exactly did you put in the config?
> - what exactly did the browser say? (switch off "friendly" messages)
> - what exactly does it say in the error_log?
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>
>
> >
> > Olli
> >
> > > -----Urspr�ngliche Nachricht-----
> > > Von: Boyle Owen [mailto:[EMAIL PROTECTED]
> > > Gesendet: Freitag, 20. Mai 2005 08:39
> > > An: [email protected]
> > > Betreff: RE: [EMAIL PROTECTED] Execute perl Script
> > >
> > >
> > > > -----Original Message-----
> > > > From: Joshua Slive [mailto:[EMAIL PROTECTED]
> > > > Sent: Donnerstag, 19. Mai 2005 18:40
> > > > To: [email protected]
> > > > Subject: Re: [EMAIL PROTECTED] Execute perl Script
> > > >
> > > >
> > > > On 5/19/05, Boyle Owen <[EMAIL PROTECTED]> wrote:
> > > > > 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
> > > >
> > > > If I remember correctly, that doesn't work in ScriptAliased
> > > > directories.
> > >
> > > Oops - quite right... I did this once ages ago and forgot
> > > that I wasn't using ScriptAlias...
> > >
> > > Rgds,
> > > Owen Boyle
> > > Disclaimer: Any disclaimer attached to this message may
> be ignored.
> > >
> > > > You need to convert
> > > >
> > > > ScriptAlias /cgi-bin/ /path/to/cgi-bin/
> > > > to
> > > > Alias /cgi-bin /path/to/cgi-bin
> > > > <Directory /path/to/cgi-bin>
> > > > Options ExecCGI
> > > > SetHandler cgi-script
> > > > DirectoryIndex index.pl
> > > > </Directory>
> > > >
> > > > Joshua.
> > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > 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]
> > > >
> > > >
> > >
> > >
> > > 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]
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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]
>
>
---------------------------------------------------------------------
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]