Displaying 3 results from an estimated 3 matches for "filematch".
Did you mean:
filesmatch
2019 Dec 09
4
PHP handler for .html files - C7
...al .php files.
This was done with the simple change to:
AddHandler php5-script .php .htm .html
AddType text/html .php .htm .html
in /etc/httpd/conf.d/php.inc. I did the same on my first new server but found that this did not work, and the login.html did not get handled. I then added it to fine filematch so my full php.conf on the new box is:
<Files ".user.ini">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>
</Fil...
2019 Dec 09
0
PHP handler for .html files - C7
...done with the simple change to:
>
> AddHandler php5-script .php .htm .html
> AddType text/html .php .htm .html
>
> in /etc/httpd/conf.d/php.inc. I did the same on my first new server but found that this did not work, and the login.html did not get handled. I then added it to fine filematch so my full php.conf on the new box is:
>
> <Files ".user.ini">
> <IfModule mod_authz_core.c>
> Require all denied
> </IfModule>
> <IfModule !mod_authz_core.c>
> Order allow,deny
> Deny from all
> Sati...
2019 Dec 09
0
PHP handler for .html files - C7
...done with the simple change to:
>
> AddHandler php5-script .php .htm .html
> AddType text/html .php .htm .html
>
> in /etc/httpd/conf.d/php.inc. I did the same on my first new server but found that this did not work, and the login.html did not get handled. I then added it to fine filematch so my full php.conf on the new box is:
>
> <Files ".user.ini">
> <IfModule mod_authz_core.c>
> Require all denied
> </IfModule>
> <IfModule !mod_authz_core.c>
> Order allow,deny
> Deny from all
>...