summaryrefslogtreecommitdiff
path: root/www/cakephp21/files/cakephp-development-cgi.conf.in
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-08-21 19:48:06 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-08-21 19:48:06 +0000
commit287cbe9d715a2ea2ee4a60b312c73a35faf20885 (patch)
treec082ad094e157e6467d4df9e2e41a4c68887c6be /www/cakephp21/files/cakephp-development-cgi.conf.in
parent- Fix distinfo (diff)
add new port: www/cakephp22
This is a port of the CakePHP web application framework. CakePHP is a free open-source rapid development framework for PHP. It's a structure of libraries, classes and run-time infrastructure for programmers creating web applications originally inspired by the Ruby on Rails framework. Our primary goal is to enable you to work in a structured and rapid manner - without loss of flexibility. Add respective conflicts for www/cakephp22 and www/cakephp21. PR: 170362 Submitted by: pphillips@experts-exchange.com Sponsored by: Experts Exchange, LLC.
Diffstat (limited to 'www/cakephp21/files/cakephp-development-cgi.conf.in')
-rw-r--r--www/cakephp21/files/cakephp-development-cgi.conf.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/cakephp21/files/cakephp-development-cgi.conf.in b/www/cakephp21/files/cakephp-development-cgi.conf.in
new file mode 100644
index 000000000000..48c1e373a372
--- /dev/null
+++ b/www/cakephp21/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 %%WWWDIR%%
+
+<Location /cakephp>
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>