Skip to content

Commit

Permalink
UTCT-21: Better comment in conf file, enable auth on index.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gilligan <[email protected]>
  • Loading branch information
UTCGilligan committed Dec 11, 2023
1 parent 870cae1 commit affcad7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions config/yourls-saml-test.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# YOURLS SAML alias for authentication
# Include this file in the virtual host Apache config
# Include /t|pvirtualmin/$user/public_html/config/yourls-saml.conf
Alias /admin/auth /tvirtualmin/webblogtest/public_html/user/plugins/yourls-saml/public
<Directory /tvirtualmin/webblogtest/public_html/user/plugins/yourls-saml/public>
# Include /t|pvirtualmin/$user/public_html/config/yourls-saml-test.conf
Alias /admin/auth /tvirtualmin/gotest/public_html/user/plugins/yourls-saml/public
<Directory /tvirtualmin/gotest/public_html/user/plugins/yourls-saml/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<?php
// Start YOURLS engine
//define( 'YOURLS_ADMIN', true );//require auth
define( 'YOURLS_ADMIN', true );//require auth
require_once( dirname(__FILE__).'/includes/load-yourls.php' );
//yourls_maybe_require_auth();//require auth
yourls_maybe_require_auth();//require auth

// URL of the public interface
$page = YOURLS_SITE . '/index.php' ;
Expand Down

0 comments on commit affcad7

Please sign in to comment.