Can't execute script source through http

  • xiaoling

    xiaoling - 2004-11-17

    Linux AS-3

    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

      (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...


  • Andre-Littoz

    Andre-Littoz - 2012-04-03

    Topic closed by administrator after spam flooding.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks