summaryrefslogtreecommitdiff
path: root/www/cakephp13/files/cakephp-development-cgi.conf.in
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-06 14:30:23 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-06 14:30:23 +0000
commit9e86fe619cf9c17c1c8e275b5adde0b47a04e5c7 (patch)
treec542e0f9b29492dc233f4a8f6c4655181ddae587 /www/cakephp13/files/cakephp-development-cgi.conf.in
parentUpdate rtorrent-devel to 0.7.4. (diff)
- Add support for PHP running in CGI mode
The location of PHP CGI can be set via WITH_PHP_CGI, e.g. /cgi-bin/php PR: ports/111295 (based on) Submitted by: Greg Larkin <glarkin at sourcehosting.net> (maintainer)
Diffstat (limited to 'www/cakephp13/files/cakephp-development-cgi.conf.in')
-rw-r--r--www/cakephp13/files/cakephp-development-cgi.conf.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/cakephp13/files/cakephp-development-cgi.conf.in b/www/cakephp13/files/cakephp-development-cgi.conf.in
new file mode 100644
index 000000000000..b3c5c74af043
--- /dev/null
+++ b/www/cakephp13/files/cakephp-development-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
+
+Alias /cakephp %%DATADIR%%
+
+<Location /cakephp>
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>