Slow Steve Posted August 31, 2011 Report Share Posted August 31, 2011 Hi,Noobie and struggling. Using 7.1.7. for testing and development. I have copied an existing site to US and added it as a virtual host. Everything works perfectly apart from the 60 or so scripts. Is there any way I can have a script run from the sites own directories and folders (cgi-bin etc.) or must they go into the US made cgi-bin outside of the site strucuture. This is important as we have a number of purchased script based functions that are installed into their own folders and sub folders. I have tried the additions to httpd.conf with no success in getting scripts below the "root" level of the site to work. I cannot get them to run at say www.mysite.com/cgi-bin/thisfolder. Sorry if I have missed something basic (not for the first time) and thanks in advance. Quote Link to comment Share on other sites More sharing options...
BobS Posted August 31, 2011 Report Share Posted August 31, 2011 You'll probably find this information useful:http://wiki.uniformserver.com/index.php/PH...I:_Introduction. Note that while it talks about 5-Nano, almost all of this applies to 7-Orion series as well. Also, if you look at httpd.conf around lines 562-612, you'll see the alias and script directory redirects. I believe you need to add BOTH a ScriptAlias and an Alias directive pointing to the external directory, but it MUST be on the same machine. The path should be like "D:/Otherserver/htdocs/cgi-bin/scripts". Caveat: I've never tried this, but that's the way I see it working. Try it and post back your results. Regards,BobS 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.