[cgiwrap-users] Problems with virtual sites and cgiwrap.
Brought to you by:
nneul
From: Nick D. -- US C. -- N. LLC. <ce...@no...> - 2001-12-01 04:14:31
|
Right now we use a method similar to that of: http://www.engelschall.com/pw/apache/rewriteguide/#ToC35 for sub domains. Anyway the point being that it seems that when sites are setup this way ScriptAlias and Alias don't work for these sites even when globally enabled. The reason this creates a problem is the way cgi is setup on our server is: ScriptAlias /cgi-bin /home/usr/cgiwrap/cgiwrap # To use CGI Wrapped scripts: Action cgi-wrapper /cgi-bin AddHandler cgi-wrapper .cgi .pl And this doesn't work on these sites since scriptAlias doesn't work. I tried doing something like AddHandler /home/usr/cgiwrap/cgiwrap .cgi .pl but that didn't work as it did /home/sites/web/test.com/home/usr/cgiwrap/cgiwrap etc. I tried putting ScriptAlias in a .htaccess file however the problem with that was that ScriptAlias cannot be put in .htaccess. So does someone know how to allow .htaccess to use ScriptAlias's ? Or how to use cgiwrap without it? Or a substitute for ScriptAlias ? |