Watch 5 Star 11 Fork 4

trensy / mycmfPHP

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
一个基于zend framework 1.11开发的CMF系统 spread retract

Clone or download
rewrite.txt 502 Bytes
Copy Edit Web IDE Raw Blame History
trensy authored 2013-08-05 19:59 . rewrite 及其他
============apache httpd=========
<VirtualHost *>
DocumentRoot D:\www\repos\mycmf
ServerName mycmf-dev.com
ServerAlias www.mycmf-dev.com
SetEnv APPLICATION_ENV "development"
ErrorLog logs/default-error_log
<Directory "D:\www\repos\mycmf">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
==========nginx===============
location / {
if (!-e $request_filename) {
rewrite ^/(.*) /index.php last;
}
}

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/wangkaihui/mycmf.git
git@gitee.com:wangkaihui/mycmf.git
wangkaihui
mycmf
mycmf
master

Help Search