apache2 conf.d config file
Put this file in /etc/apache2/conf-available/phpvirtualbox.conf Then run `a2enconf phpvirtualbox` and `service apache2 reload`
This commit is contained in:
parent
14d7c3877c
commit
a4d94f6780
|
@ -0,0 +1,31 @@
|
|||
Alias /phpvirtualbox /usr/share/phpvirtualbox
|
||||
|
||||
<Directory /usr/share/phpvirtualbox>
|
||||
|
||||
<IfModule mod_dir.c>
|
||||
DirectoryIndex index.php
|
||||
</IfModule>
|
||||
AllowOverride None
|
||||
|
||||
# Only allow connections from localhost:
|
||||
Require local
|
||||
|
||||
<IfModule mod_php.c>
|
||||
php_flag magic_quotes_gpc Off
|
||||
php_flag track_vars On
|
||||
#php_value include_path .
|
||||
</IfModule>
|
||||
<IfModule !mod_php.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>
|
Loading…
Reference in New Issue