Find the answer to your Linux question:
Results 1 to 2 of 2
I'm trying to run a CGI file with Apache2, but when I navigate to it, I just get the file in it's plain text format and not actually parsing the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    59

    Cannot run CGI on Apache -- Why?

    I'm trying to run a CGI file with Apache2, but when I navigate to it, I just get the file in it's plain text format and not actually parsing the file.

    What do I need to configure?

    I've tried this
    Code:
    <Directory /var/www/>
           AddHandler cgi-script *.cgi
           Options +ExecCGI
    </Directory>
    And I've tried this
    Code:
    <Directory /var/www/>
          Options Indexes FollowSymLinks Includes ExecCGI
          AllowOverride All
          Order allow,deny
          Allow from all
    </Directory>
    Yet neither works

    Any ideas?

    Thanks

  2. #2
    Banned
    Join Date
    Feb 2011
    Posts
    4
    Anyone? I'm having problems here too? and how do I let the errors show on the web browser? I dont want to keep going to the error log to see it.

Posting Permissions

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