Skip to content
/ GoURL Public

A URL shortener and QR code generator; branding via Digital Campus Framework

License

Notifications You must be signed in to change notification settings

unl/GoURL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNL GoURL

Setup

Install DB with data/goURL.sql

Run composer install

Copy config.sample.php to config.inc.php and modify connection details.

Copy www/sample.htaccess to www/.htaccess and modify site path.

About

Originally based on lilURL: http://lilurl.sourceforge.net http://www.gnu.org/licenses/gpl.html

User Auth

GoURL currently supports UNL PHP CAS or Apache mod_shib by setting $auth in config.inc.php

UNL PHP CAS example

define('CAS_CA_FILE', '/etc/pki/tls/cert.pem');
$auth = new \UNL\Templates\Auth\AuthCAS('2.0', 'shib.unl.edu', 443, '/idp/profile/cas', CAS_CA_FILE);

Apache mod_shib example

$shibSettings = array (
  'shibLoginURL' => 'https://localhost/Shibboleth.sso/Login',
  'shibLogoutURL' => 'https://localhost/Shibboleth.sso/Logout',
  'appBaseURL' => 'https://your.site',
  'userAttributes' => array(
    'eduPersonAssurance',
    'eduPersonScopedAffiliation',
    'eduPersonAffiliation',
    'sn',
    'givenName',
    'surname',
    'email',
    'displayName',
    'eduPersonPrincipalName'
  )
);
$auth = new \UNL\Templates\Auth\AuthModShib($shibSettings);

About

A URL shortener and QR code generator; branding via Digital Campus Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published