/[smecontribs]/rpms/smeserver-zoneminder/contribs10/smeserver-zoneminder-1.0-bz12069-24syntax.patch
ViewVC logotype

Diff of /rpms/smeserver-zoneminder/contribs10/smeserver-zoneminder-1.0-bz12069-24syntax.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Mon Aug 1 05:26:29 2022 UTC Revision 1.3 by jpp, Mon Aug 1 05:55:18 2022 UTC
# Line 76  diff -Nur --no-dereference smeserver-zon Line 76  diff -Nur --no-dereference smeserver-zon
76  diff -Nur --no-dereference smeserver-zoneminder-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder smeserver-zoneminder-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder  diff -Nur --no-dereference smeserver-zoneminder-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder smeserver-zoneminder-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder
77  --- smeserver-zoneminder-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder 2022-08-01 00:26:08.189000000 -0400  --- smeserver-zoneminder-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder 2022-08-01 00:26:08.189000000 -0400
78  +++ smeserver-zoneminder-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder     2022-08-01 01:24:37.446000000 -0400  +++ smeserver-zoneminder-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/23zoneminder     2022-08-01 01:24:37.446000000 -0400
79  @@ -1 +1,11 @@  @@ -1 +1,12 @@
80  -ScriptAlias /cgi-bin-zm /usr/libexec/zoneminder/cgi-bin  -ScriptAlias /cgi-bin-zm /usr/libexec/zoneminder/cgi-bin
81  +#Zoneminder  +    #Zoneminder
82  +  +{
83  +# Auto Redirect HTTP requests to HTTPS  +$OUT="";
84  +RewriteEngine On  +if ( $port ne $SSLPort ) {
85  +RewriteCond %{HTTPS} !=on  +    $OUT .=  "RewriteEngine On\n";
86  +RewriteRule ^/?(zm)(.*) https://%{SERVER_NAME}/$1$2 [R,L]  +    $OUT .=  'RewriteCond %{HTTPS} !=on'."\n";
87  +  +    $OUT .=  'RewriteRule ^/?(zm)(.*) https://%{SERVER_NAME}/$1$2 [R,L]'."\n";}
88  +# Order matters. This alias must come first.  +}
89  +Alias /zm/cache "/var/cache/zoneminder"  +    # Order matters. This alias must come first.
90  +Alias /zm "/usr/share/zoneminder/www"  +    Alias /zm/cache "/var/cache/zoneminder"
91  +ScriptAlias /cgi-bin-zm "/usr/libexec/zoneminder/cgi-bin"  +    Alias /zm "/usr/share/zoneminder/www"
92    +    ScriptAlias /cgi-bin-zm "/usr/libexec/zoneminder/cgi-bin"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed