I upgraded to OS X 10.10, and by inherence to Apache 2.4. I have a .cgi app that i try to run but downloads when I try to open it on any browser. Any idea why?
Cgi downloads instead executing when opening in browser/ localhost
1.3k Views Asked by user3888331 At
1
There are 1 best solutions below
Related Questions in APACHE
- .htaccess redirect 403 error files to 404 error document
- RestApi server code is not workinng
- Convert Apache VirtualHost to nginx Server Block for Dynamic Subdomains
- Looking the Method that MANUALLY INSTALL PHP on OSX Yosemite
- Premature end of script on VPS
- Rasterization with Javascript looks different on Apache server
- Vagrant - Ansible error installing Apache
- Can't use subdomain in Chrome using Apache (XAMPP)
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Redirect keystone app to sub directory using htaccess
- How can I integrate Solr5.1.0 with Nutch1.10
- Disconnect Client connected to cgi application
- Solr ping taking time during full import
- How to redirect an incoming request to specific serverName to different server in apache2?
- What is the correct way to link Django Flatpages?
Related Questions in CGI
- Disconnect Client connected to cgi application
- Python CGI script won't execute if I 'import cgi'
- .jpg out of .cgi with java (IP Webcam)
- Input parameter for perl CGI script
- A C cgi script to serve binary file from sqlite3_column_blob pointer
- How to run CGI script in web browser?
- Can parse GET params from URL
- How to get POST parameters from CGI scripts written in bash?
- Can not get params from URL - why is my cgi.FieldStorage() empty?
- File not found error, but file exists
- QUERY_STRING is not obtained in CGI (C code)
- Get username on Server that uses digest authentication (Perl)
- calling cgi script from other cgi script
- Attaching CGI python script to PyCharm debugger?
- Having trouble executing a python script from the web browser
Related Questions in APACHE2.4
- migrating from httpd 2.2 to httpd 2.4. mod rewrite returns eror 404
- Custon headers not working on php 5.6 - apache 2.4, debian 8 jessie
- Problems with mod_auth_token installation
- how do I configure Apache 2.4 to have a domain name poiting to my webapp
- ProxyPass with trailing slash returns 404
- Apache hangs frequently, needs restart to work again
- WAMP ignoring rewrite rules in .htaccess
- URL trailing slash gets removed
- Changed mpm-worker 2.4 config but with no effect
- Apache , uwsgi , django lookup time
- CORS not working for a request made inside a javascript file
- AliasMatch With Regex NotWorking in Apache 2.4
- mod_rewrite works incorrectly on apache 2.4
- Combine ip and user auth restriction for subfolder in apache 2.4
- Apache configuration on OS X Yosemite
Related Questions in OSX-YOSEMITE-BETA
- Cocoapods with Xcode 6 and 10.10 Yosemite
- OS X Yosemite : Impossible to install cocoapods
- Show ViewController on Extension info button Edit Mode
- Optimize Swing Program for OS X Yosemite
- Can't get CocoaPods working
- Connection error on MySQL Workbench 6.1
- Warning: spawn ENOENT Use with Grunt sass task
- Can't install Provisioning Profiles on iPhone (iOS 8 beta 4 / Xcode 6 Beta 4)
- Flask debug true not taking effect (OS X Yosemite)
- Cgi downloads instead executing when opening in browser/ localhost
- LaTeXTools + Sublime Text 3 does not compile (after installing Yosemite public beta)
- Reset Yosemite to default
- OSX Yosemite - JavaScript for Automation Accessing Enums
- JavaScript for Automation - Searching Calendar
- Swift Bindings won't work Xcode 6 Beta 5
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
CGI apps are often written in Perl.
For Yosemite, Apple upgraded the installed version of Apache to 2.4 and shipped it without mod_perl. In past versions of OS X, you could open
and uncomment the following line:
then restart apache:
however, the "LoadModule" line is no longer there, and mod_perl is no longer at libexec/apache2/mod_perl.so.
Since the programming language is missing for your CGI app, the browser just prints out the code instead of executing it.
You have to install mod_perl if you want your script to be executed. There are various sites that try to explain how to do it but it is complex and Yosemite is recent. I have not yet found a site that provides working instructions.