/etc/apache2/conf-available/stacks-web.conf is in stacks-web 2.0Beta8c+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | Alias /stacks /usr/share/stacks/php
<Directory /usr/share/stacks/php>
DirectoryIndex index.php
AllowOverride None
order deny,allow
deny from all
# This for local browsing only
# allow from 127.0.0.0/255.0.0.0 ::1/128
# Or switch to this for global visibility
allow from all
<IfModule mod_php5.c>
php_flag magic_quotes_gpc Off
#php_flag track_vars On
#php_value include_path .
</IfModule>
<IfModule !mod_php5.c>
<IfModule mod_actions.c>
<IfModule mod_cgi.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
<IfModule mod_cgid.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
</IfModule>
</IfModule>
</Directory>
|