How can I get our server to run cgi from any folder I want?
Apache version 2.4 prevents the use of CGI scripts in directories other than the cgi-bin directory. To use CGI scripts in other directories, you must enable the ability of individual .htaccess files to override the server settings.
@Richard Albrecht There is probably a good reason for Apache to restrict use of CGI. My advice would be for you to comply and move all your CGIs into the cgi-bin folder.
I remember last time I configured Apache, the cgi-bin configuration was disabled, so no cgi app by default could be run. You need to activate the cgi-bin (that you can rename).
I think one option is configure apps as cgi-bin directory and to something like this:
yourdomain.com/apps/app1/
yourdomain.com/apps/app2/
Other option is having a subdomain:
apps.yourdomain.com/app1/
apps.yourdomain.com/app2/
I haven’t done this but I think you can configure several cgi-bin directories with different names:
yourdomain.com/app1/
yourdomain.com/app2/
I think is better to specifically configure each directory that you are going to use to run CGI than use htaccess with the option to activate the directory as a cgi capable one.
After reading again your question, I’m not sure if you want to know how to configure Apache so you can use htaccess to let cgi apps run in any directory, or if you want to configure your Apache that by default you can run cgi apps in any directory without the need of htaccess.
It can’t find you. I tried it says: Hm, there doesn’t seem to be a member with that name.
This company American Eagle is driving me nuts trying to get cgi’s to run. They are a large company located just outside Chicago and they are doing our new website.