Jump to content

cgi bin access


bbxrider

Recommended Posts

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?

 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.