Revert upstream PHP mod_userdir change
authorAlex Dehnert <adehnert@mit.edu>
Tue, 12 Oct 2010 11:41:35 +0000 (07:41 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Tue, 12 Oct 2010 11:41:35 +0000 (07:41 -0400)
Running PHP as www-data is perfectly acceptable on this machine
--- I'm way more concerned about a webapp compromising the alex
account than I am by the alex account compromising other people's
webapps, given that there's basically nobody else on the system.

mods-available/php5.conf

index 5d2f9112f49a47bf0b01824263132c5508acf49a..2533117ac60c3c4fb2628b98883e0dff7e044dd1 100644 (file)
@@ -8,9 +8,9 @@
     # To re-enable php in user directories comment the following lines
     # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
     # prevents .htaccess files from disabling it.
-    <IfModule mod_userdir.c>
-        <Directory /home/*/public_html>
-            php_admin_value engine Off
-        </Directory>
-    </IfModule>
+    #<IfModule mod_userdir.c>
+    #    <Directory /home/*/public_html>
+    #        php_admin_value engine Off
+    #    </Directory>
+    #</IfModule>
 </IfModule>