WampServer

Apache, PHP, MySQL on Windows 

 
  • Accueil forum
  • Retour à WampServer
  • presentation
  • Download
  • Addons
  • Formations
  • Alter Way

 
Voir le sujet: Précédent•Suivant
Aller à : Liste des Forums•Liste des messages•Nouvelle discussion•Recherche•Connexion•Imprimer la vue
500 Internal Server error
Envoyé par: cecilem (---.completel.net)
Date: 06 November 2008 à 12:37

Bonjour,

J'ai installé Wampserver tout fonctionne bien avec mes programmes en PHP et en PERL.
Mais j'ai un programme en perl qui m'affiche une erreur à l'execution, mais tous les autres fonctionnent bien c'est bizard.
voici l'erreur : ce n'est pas très parlant mais bon la voià :
------------------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------------------
J'ai cherché sur internet une solution et voilà ce que j'ai déjà fait :
Dans le HTTPconf d'apache j'ai activé le module rewrite et j'ai redémarré mon wampserver mais ça n'a pas résolut mon problème.
Si une personne a une solution je suis très interessé ou des idées pour avancer.
Merci d'avance.
Bonne journée

Cécile

Options: Répondre•Citer ce Message
Re: 500 Internal Server error
Envoyé par: bagu (---.bagu.biz)
Date: 06 November 2008 à 12:41

Mettre ceci dans httpd.conf :

# Apache parses all CGI scripts for the shebang line by default.
# This comment line, the first line of the script, consists of the symbols
# pound (#) and exclamation (!) followed by the path of the program that
# can execute this specific script. For a perl script, with perl.exe in
# the C:\Program Files\Perl directory, the shebang line should be:

#!c:/program files/perl/perl

# Note you _must_not_ indent the actual shebang line, and it must be the
# first line of the file. Of course, CGI processing must be enabled by
# the appropriate ScriptAlias or Options ExecCGI directives for the files
# or directory in question.
#
# However, Apache on Windows allows either the Unix behavior above, or can
# use the Registry to match files by extention. The command to execute
# a file of this type is retrieved from the registry by the same method as
# the Windows Explorer would use to handle double-clicking on a file.
# These script actions can be configured from the Windows Explorer View menu,
# 'Folder Options', and reviewing the 'File Types' tab. Clicking the Edit
# button allows you to modify the Actions, of which Apache 1.3 attempts to
# perform the 'Open' Action, and failing that it will try the shebang line.
# This behavior is subject to change in Apache release 2.0.
#
# Each mechanism has it's own specific security weaknesses, from the means
# to run a program you didn't intend the website owner to invoke, and the
# best method is a matter of great debate.
#
# To enable the this Windows specific behavior (and therefore -disable- the
# equivilant Unix behavior), uncomment the following directive:
#
ScriptInterpreterSource registry
#
# The directive above can be placed in individual <Directory> blocks or the
# .htaccess file, with either the 'registry' (Windows behavior) or 'script'
# (Unix behavior) option, and will override this server default option.
#

#
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.

Et ne pas oublier de relancer le service



Modifie 1 fois. Derniere modification le 06/11/2008 à 12:44 par bagu.

Options: Répondre•Citer ce Message
Re: 500 Internal Server error
Envoyé par: cecilem (---.kaptech.net)
Date: 06 November 2008 à 13:53

merci pour ta réponse mais ca ne fonctionne j'ai redémarre les services et j'ai meme redémarrer mon poste mais ca ne marche toujours pas.
Est ce que je peux le mettre n'importe ou dans le fichier httpd.conf ou il faut le mettre à un endroit bien précis ?

Options: Répondre•Citer ce Message
Re: 500 Internal Server error
Envoyé par: cecilem (---.completel.net)
Date: 06 November 2008 à 14:26

Désolé en fait ça fonctionne ce que tu m'as donné merci beaucoup pour la rapidité de la réponse

Options: Répondre•Citer ce Message


Aller à : Liste des Forums•Liste des messages•Recherche•Connexion
Désolé, seuls les utilisateurs connectés peuvent envoyer des messages dans ce forum.
Cliquer ici pour se connecter

design by jidePowered by Alter Way get firefoxget PHP