6 |
# Retrieve project properties from database |
# Retrieve project properties from database |
7 |
my $git_db = esmith::GitDB->open_ro() or |
my $git_db = esmith::GitDB->open_ro() or |
8 |
- auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?\n" ); |
- auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?\n" ); |
9 |
+ auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?" ); |
+ auth_error( "500 Internal Error", "Could not open the Git repository database! Does the web server have permission to read the git database file?" ); |
10 |
|
|
11 |
my $repository = $git_db->get($projectname) or |
my $repository = $git_db->get($projectname) or |
12 |
- auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!\n" ); |
- auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!\n" ); |
21 |
|
|
22 |
# Get server private IP address and mask for access to the local network only |
# Get server private IP address and mask for access to the local network only |
23 |
my @network_setting = split(/[\/ ]/, $networks_db->local_access_spec('private')); |
my @network_setting = split(/[\/ ]/, $networks_db->local_access_spec('private')); |
|
diff -Nur smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook |
|
|
--- smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-24 06:48:38.257000000 -0400 |
|
|
+++ smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-24 07:46:22.088000000 -0400 |
|
|
@@ -76,7 +76,7 @@ |
|
|
|
|
|
# Retrieve project properties from database |
|
|
my $git_db = esmith::GitDB->open_ro() or |
|
|
- auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?" ); |
|
|
+ auth_error( "500 Internal Error", "Could not open the Git repository database! Does the web server have permission to read the git database file?" ); |
|
|
|
|
|
my $repository = $git_db->get($projectname) or |
|
|
auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!" ); |
|