bbxrider Posted November 6, 2008 Share Posted November 6, 2008 this is apache 2.2.4 on winxp pro, php, perl, mysql, its a development environment my default install created c:/apache2/cgi-bin i've tried a bunch of variations and my current .conf has DocumentRoot "C:/apache2/htdocs" and i currently have 5 domains via virtual host. for cgi directives i have: ScriptAlias /cgi-bin/ "C:/apache2/cgi-bin/" activated the mod_cgi.so <Directory "C:/apache2/cgi-bin"> Options FollowSymLinks +ExecCGI -Indexes AddHandler cgi-script .cgi .pl AllowOverride None Order allow,deny allow from all Satisfy all </Directory> the problem is i can't directly access scripts in the cgi-bin, not in the browser (localhost) or if some script running in one of the domains trys to invoke using a 'windows path' ie, 'c:/apache2/cgi-bin/ubr_upload.pl' if i have a script that is common to, or invoked from multiple domains, how do i configure access to a common cgi-bin directory? this is possible yes? Quote Link to comment Share on other sites More sharing options...
bbxrider Posted November 8, 2008 Author Share Posted November 8, 2008 with no replies i thought i'd try to restate the issue and see if that brings any response. what i'm trying to do is have global cgi-bin that multiple virtual host domains can access. the alternative is to a have cgi-bin for each domain. at this point i wonder if its possible to have such a configuration? i've seen suggestions that a global cgi-bin is not as desireable for one for each domain, any opinions on that? my reasoning is that like in all programming if there are common used subroutines, dll's, object code, etc. for maintenance issues it is better to have them in a central repository so any changes don't have to be replicated over and over again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.