Apache Newbie cgi-bin question
Ok so I'm trying to move my two domains over to linux/apache since I have a Debian box to play with, I figured it would be a nice crash course, and since neither domain does much except a image dump and host a blog it's nothing super critical.
I ran into a snag with the domain that hosts my blog running Moveable Type. I setup all the permissions and tried to run the mt-check.cgi by going to http://test.domain.com/cgi-bin/mt-check.cgi I get a Quote:
Quote:
Quote:
I'm new to linux, so is how it's currently setup (cgi-bin symlinking back to /usr/lib/cgi-bin) the prefered way to handle it? if you are hosting multiple domains wouldn't that leave the cgi-bin quite messy and bothersome for end user management? I was expecting to just create the /cgi-bin/ folder in domains as needed and make sure the apache user had read and execute permissions. Is this a bad idea and if not how do I change it from how it is now, to how I just discribed? |
When you set up multiple domains, you'll set up a "virtual host" (name or IP based) for all of the different domains. Within each virtual host you can specify a separate ScriptAlias directory so that each virtual host has its own cgi-bin.
|
Quote:
|
All times are GMT -5. The time now is 04:19 AM. |