Let's assume that I have 2 virtualhosts running for the domains
domain2.com. For these domains I set the documentroot to
c:\server\htdocs\user\domains\domain2.com. From these documentroot locations I want to be able to call perl or python scripts in a
cgi-bin folder located 2 folders down from the documentroot (so
c:\server\htdocs\user\cgi-bin) by using
../../cgi-bin/script.pl. This doesn't work, however, it does work when I call the script by using
I have set up my server using xampp, and I have created a virtualhost containing
ScriptAlias /cgi-bin/ "c:/server/htdocs/user/cgi-bin/", but this will not work for me. How do I go about this? I've tried looking on google for the answer, but all it comes up with is the default settings for a server without virtualhosts.
Any help would be greatly appreciated.
Note that I run my server on windows 7.