Menu

Can't execute script source through http

Help
xiaoling
2004-11-17
2013-01-02
  • xiaoling

    xiaoling - 2004-11-17

    Install:
    Linux AS-3
    lxr-0.9.3
    httpd-2.0.46-25
    mod_perl-1.99_09-10

    I use .htaccess lxr given.
    If I execute source backgroud, that's OK.
    And if I save it index.html, it will be viewed correctly.
    I think httpd.conf have some error.
    Someone help me, send me httpd.conf or give me some suggestions.

    Below is the message:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@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.

     
    • RustyC

      RustyC - 2005-09-12

      I found that if I made my apache2.conf
      entry look like this:

      PerlSwitches -T
      Alias /lxr /var/lib/lxr/http
      <Directory /var/lib/lxr/http>
        AllowOverride All
        SetHandler perl-script
        PerlHandler ModPerl::Registry
        PerlSetEnv PERL5LIB lib
        ForceType text/html
        PerlSendHeader On
      </Directory>

      (and restarted apache2)  that it worked.
      Not that you may need a different PerlHandler,
      and most certainly you'll need to change the directory paths.

      Good luck!

      BTW - if next time you could include the apache error log entries
      it would be much more helpful than the message you get
      in the web page...

      rc

       
  • Andre-Littoz

    Andre-Littoz - 2012-04-03

    Topic closed by administrator after spam flooding.

     

Log in to post a comment.