Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2007
    Messaggi
    154

    [mod_perl] Perl e file statici contemporaneamente

    Non riesco a usare, nella cartella in cui ci sono degli script perl, a caricare html, jpg, gif o altri file statici.
    Apache è così configurato:
    codice:
      <IfModule mod_perl.c>
          PerlModule Apache::Registry
          Alias /perl /Users/***/Sites/perl
          <Location /perl>
             SetHandler perl-script
             PerlHandler Apache::Registry
             Options +ExecCGI
             PerlSendHeader On
             PerlSetupEnv On
          </Location>
       </IfModule>
    Ma quando carico un file statico mi viene fuori:

    codice:
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [no address given] 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.
    
    Apache/1.3.33 Server at www.mysite.it Port 80

    [Edit] Nel caso avessi sbagliato forum, chiedo gentilmente a un moderatore di spostarmi

  2. #2
    Utente di HTML.it
    Registrato dal
    Feb 2007
    Messaggi
    154
    Buah

  3. #3
    Moderatore di Programmazione L'avatar di alka
    Registrato dal
    Oct 2001
    residenza
    Reggio Emilia
    Messaggi
    24,480

    Moderazione

    Mi sembra più un problema legato alla configurazione di Apache, che relativo alla programmazione in senso stretto.

    Ti ho spostato nell'area più indicata.
    MARCO BREVEGLIERI
    Software and Web Developer, Teacher and Consultant

    Home | Blog | Delphi Podcast | Twitch | Altro...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.