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.

cgi scripts will not run (not solution in other posts)

Featured Replies

I have a problem running perl scripts from c:\amp\uniform server\udrive\cgi-bin. I can run the admin panel with scripts so perl is working. I copied rserver.cgi to above cgi dir but it will not run from there with the obvious message:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, albert.drent@rug.nl and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

--------------------------------------------------------------------------------

Apache/2.0.59 (Win32) DAV/2 PHP/5.2.3 Server at localhost Port 80

 

I have a default install and a default httpd. The first pl line is:

 

#! /usr/bin/perl

#

# CGI perl module for 'usva' application server

# V1.0

# author

# Albert Drent

# for RuG Rijksuniversiteit Groningen (BIV)

 

 

I looked in the errorlog and found:

 

- [Thu Jan 29 11:00:12 2009] [error] [client 127.0.0.1] Can't locate IO/Socket.pm in @INC (@INC contains: W:/usr/lib .) at W:/cgi-bin/avw.pl line 16.\r

 

What configuration somewhere could be wrong? There is a socket.pm but the subdir io is missing.

 

albert

university of groningen

Hi nidee

If you moved only the file rserver.cgi for testing it will not work, it expects other files to be present e.g header, footer and security these in addition expect other files js and css. Anyway there is no point in trying to get this working it would be better to post code that you have a problem with.

 

Perl is pre-configured hence there is nothing hidden to set-up. You may be trying to use modules that are not included however without code to view its impossible say or it might be just a typo.

 

All the best

Ric :)

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.