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.

Is there ANY way to make it work with standard shebang?

Featured Replies

Hey folks!

 

I was wondering if there is ANY way at all to make UniServer work with "#!/usr/bin/perl" instead of the whole path? Change something inside the software to know that #!/usr/bin/perl is equal to the whole path to perl that I would manually set?

 

I use UniServer to test scripts on my PC, but I then upload them to a server so it's pretty inconvenient having to change that every time...

 

Any and all ideas are greatly appreciated!

 

Thank you!

Uniform Server honours the shebang!

By this I men its not ignored for portable reasons.

However it does require a full path, which is changed automatically.

 

The following is a proposed solution that does not make entries to your PC’s registry

 

Download and extract a version of Uniform Server to a fixed folder.

Run the servers once to establish paths.

Download a Perl plugin (minimum or full) again run severs once.

 

On the same drive create a new folder at top level of disk named:

(C:/)usr/bin/perl

 

Now copy everything in folder UniServer/usr/bin

 

To (C:/)usr/bin/perl

 

Check that your scripts in folder xxx/UniServer\cgi-bin work

 

The above is a fixed development environment and not portable

 

It’s proposed because I have not had time to test it. :angry:

 

All the best

Ric :angry:

  • 2 months later...

If the standard shebang "#!/usr/bin/perl" works on the remote server, then the "fixed development environment" recommended by "Ric" would be ok, since what you "upload" is "scripts" rather than the whole box ...

 

Hey folks!

 

I was wondering if there is ANY way at all to make UniServer work with "#!/usr/bin/perl" instead of the whole path? Change something inside the software to know that #!/usr/bin/perl is equal to the whole path to perl that I would manually set?

 

I use UniServer to test scripts on my PC, but I then upload them to a server so it's pretty inconvenient having to change that every time...

 

Any and all ideas are greatly appreciated!

 

Thank you!

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.