1 |
diff -urN smeserver-zoneminder-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86zoneminder smeserver-zoneminder-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86zoneminder |
2 |
--- smeserver-zoneminder-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86zoneminder 2020-12-04 14:30:50.658751271 +0000 |
3 |
+++ smeserver-zoneminder-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86zoneminder 2020-12-04 14:36:43.902254141 +0000 |
4 |
@@ -1,8 +1,11 @@ |
5 |
|
6 |
Alias /zm "/usr/share/zoneminder/www" |
7 |
<Directory "/usr/share/zoneminder/www"> |
8 |
- Options -Indexes MultiViews FollowSymLinks |
9 |
- AddType application/x-httpd-php .php |
10 |
+ Options -Indexes -MultiViews -FollowSymLinks |
11 |
+ #AddType application/x-httpd-php .php |
12 |
+ <FilesMatch .php> |
13 |
+ SetHandler "proxy:unix:/var/run/php-fpm/php74.sock|fcgi://localhost" |
14 |
+ </FilesMatch> |
15 |
AllowOverride All |
16 |
Order allow,deny |
17 |
Allow from all |