Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CGI in locale su Apache

0 views
Skip to first unread message

oretaxa

unread,
Jun 27, 2003, 3:55:33 AM6/27/03
to
Fino ad ora ho testato gli script CGI su Sambar server.
Avendo installato EasyPHP volevo testare gli script CGI su Apache che perň
mi mostra questa pagina di errore:

______________________
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, admin@localhost and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log."
______________________

Ho settato il file di configurazione di Apache cosě:


# AddHandler allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the
server
# or added with the Action command (see below)
#
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# To use CGI scripts:
#
AddHandler cgi-script .pl
AddHandler cgi-script .cgi


# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the
client.
# The same rules about trailing "/" apply to ScriptAlias directives as
to
# Alias.
#
ScriptAlias /cgi-bin/ "C:/Programmi/EasyPHP/cgi-bin/"


# "C:/Programmi/EasyPHP/apache/cgi-bin" should be changed to whatever
your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/Programmi/EasyPHP/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>


Gli script puntano a:

C:/Programmi/EasyPHP/Perl/bin/ppm3-bin.bat


Qual'č il problema?
Grazie in anticipo,
Davide

Silvio

unread,
Jun 27, 2003, 5:10:59 AM6/27/03
to

"oretaxa" <nocch...@tiscali.it> ha scritto nel messaggio
news:bdgtge$a86$1...@lacerta.tiscalinet.it...

Devi installare pearl, http://www.latoserver.it/perl/install/windows.php3 ,
poi ogni tuo script deve iniziare: #!c:/perl/bin/perl.exe


> Grazie in anticipo,

prego

> Davide

Silvio

>
>
>
>
>


oretaxa

unread,
Jun 27, 2003, 9:22:58 AM6/27/03
to
Il perl è già installato nel pacchetto Easyphp e comunque lo avevo già
installato con Sambar (in un'altra posizione) e tutto procedeva alla
perfezione

Davide

Silvio <tresk...@katamail.com> wrote in message
QSTKa.6604$de....@news.edisontel.com...


>
> "oretaxa" <nocch...@tiscali.it> ha scritto nel messaggio
> news:bdgtge$a86$1...@lacerta.tiscalinet.it...
> > Fino ad ora ho testato gli script CGI su Sambar server.
> > Avendo installato EasyPHP volevo testare gli script CGI su Apache che

però


> > mi mostra questa pagina di errore:
> >
> > ______________________
> > "Internal Server Error
> > The server encountered an internal error or misconfiguration and was
> unable
> > to complete your request.
> > Please contact the server administrator, admin@localhost and inform them
> of
> > the time the error occurred, and anything you might have done that may
> have
> > caused the error.
> >
> > More information about this error may be available in the server error
> log."
> > ______________________
> >

> > Ho settato il file di configurazione di Apache così:

> > Qual'è il problema?

0 new messages