Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP & Location

Featured Replies

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.

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

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.