virtual_host2.conf has too many "RewriteEngine on" for HAVE_PHP1_FPM

interfasys

Verified User
Joined
Oct 31, 2003
Messages
1,824
Location
Switzerland
Something got forgotten when the template got updated
I see this
Code:
|*if HAVE_PHP1_FPM="1"|
	RewriteEngine on
	RewriteOptions InheritBefore
	<FilesMatch "\.(inc|php|phtml|phps|php|PHP1_RELEASE|)$">
		AddHandler "proxy:fcgi://php-fpm|PHP1_RELEASE|.|USER|/" .inc .php .phtml .php|PHP1_RELEASE|
	</FilesMatch>
|*endif|

but it should be this
Code:
|*if HAVE_PHP1_FPM="1"|
	<FilesMatch "\.(inc|php|phtml|phps|php|PHP1_RELEASE|)$">
		AddHandler "proxy:fcgi://php-fpm|PHP1_RELEASE|.|USER|/" .inc .php .phtml .php|PHP1_RELEASE|
	</FilesMatch>
|*endif|
 
Back
Top