aboutsummaryrefslogtreecommitdiff
path: root/www/cakephp/files/cakephp-production-cgi.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/cakephp/files/cakephp-production-cgi.conf.in')
-rw-r--r--www/cakephp/files/cakephp-production-cgi.conf.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/cakephp/files/cakephp-production-cgi.conf.in b/www/cakephp/files/cakephp-production-cgi.conf.in
new file mode 100644
index 000000000000..8565f6286351
--- /dev/null
+++ b/www/cakephp/files/cakephp-production-cgi.conf.in
@@ -0,0 +1,13 @@
+AddType application/x-httpd-php .php
+AddType application/x-httpd-php-source .phps
+
+Action php-script %%PHPCGI%%
+AddHandler php-script .php
+
+DocumentRoot %%DATADIR%%/app/webroot
+
+<Location />
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>