Jump to content
The Uniform Server Community

PHP & Location

Slow Steve

Recommended Posts


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.

Link to comment
Share on other sites

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.




Link to comment
Share on other sites

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...