Skip to content

yizhichan/Spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring

PHP framework.

nginx setting


 if (!-e $request_filename){
     rewrite ^/([a-zA-Z]+)/?(.*)? /index.php?mod=$1&action=index&$2 last;
     rewrite ^/([a-zA-Z]+)/([a-zA-Z]+)/?(.*)? /index.php?mod=$1&action=$2&$3 last;
 }