Results 1 to 3 of 3
  1. #1

    Configuring Apache to execute .exe files

    I was wondering how I can configure Apache (1.3) to execute .exe files instead of offering them to the client for download?

    I am running on Red Hat Linux 7.3

    The .exe files are actually packaged Perl scripts (using the PAR module).

  2. #2
    Join Date
    Mar 2003
    I might be wrong, but you could try:

    AddHandler cgi-script .exe

  3. #3
    Join Date
    Feb 2002
    Vestal, NY
    Yes try placing:

    AddHandler cgi-script .exe


    Options ExecCGI

    in your httpd.conf for the server or Vhost you are configuring for. The exe file will need a shebang line such as #!/usr/bin/perl to indicate what interpretter or shell to use unless it is compiled binary capable of being executed on Linux of course and the file will need to be chmod 755.
    I am not familiar with the PAR module or what you mean by packaged Perl scripts. If it is a Windows executable or self-extracting archive, it is highly doubtful that it will run on Linux.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts