Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

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.

froxlor and mod_perl

Featured Replies

Hi, 

I´m trying to run a perl script on my server.

For the customer i have add Perl Support. If I try to run the Perl Script direct to the docroot I get the source code. If I try into a cgi-bin dir I get a forbidden message.

In the error Logs I see nothing.

 

/html/cgi-bin/	Nein				Ja

I have add a new cgi-bin into my docroot, but same forbidden.

 

Any idea?

As customer, Go to directory options, add a new entry for your cgi-bin folder and Check "Perl/CGI" for this directory

  • Author

I have do it, but I get a forbidden. And i dont see any changes in the vhost.

Unbenannt.png

Because the directory options are in 40_*.conf Files. 

  • Author

Any idea, why I get a forbidden error?

That is my perl Script:

#!/usr/bin/perl

use strict;
use warnings;

my $logname = $ENV{ LOGNAME };
print "\$logname = $logname\n";

my $user = $ENV{ USER };
print "\$user = $user\n";

my $pwuid = getpwuid( $< );
print "\$pwuid = $pwuid\n";

 

  • Author

Same with a HTML file.

 

You don't have permission to access /cgi-bin/index.html on this server.

 

 

  • Author

a2enmod cgi

 

That was my problem.

Archived

This topic is now archived and is closed to further replies.

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.