update
[pharext/pharext.org] / etc / apache2.conf
index 5f9c3e298dc51b12289b59c5ec8528952bfd9c26..db864b77dfc9766f3c60d84f4ee0768c5d73f9c4 100644 (file)
                AllowOverride All
                Require all granted
                SetEnv APP_ENVIRONMENT production
+               RemoveHandler .phar
                <Files "*.phar">
+                       SetHandler default-handler
                        ForceType application/phar
                </Files>
+               <FilesMatch ".+\.ph(p|tml)$">
+                       SetHandler "proxy:unix:/run/php/php-pharext.sock|fcgi://localhost"
+               </FilesMatch>
        </Directory>
 </Macro>