update config
[pharext/replicator.pharext.org] / etc / apache2.conf
index aeba207f1f066ede6973d6cd70f697bc218e616c..dbb2a406478cf21897ef5a54cce6bc007764a60f 100644 (file)
@@ -9,9 +9,14 @@
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Require all granted
+               RemoveHandler .phar
                <Files "*.phar">
+                       SetHandler default-handler
                        ForceType application/phar
                </Files>
+               <FilesMatch ".+\.ph(p|tml)$">
+                       SetHandler "proxy:unix:/run/php/php-replicator.sock|fcgi://localhost"
+               </FilesMatch>
        </Directory>
 </Macro>