mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
#18525697 정적 파일은 파일이 없을 때만 규칙을 적용하도록 하고, vid, mid는 폴더가 존재하지 않을 경우에만 적용하도록 함.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7053 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7610bf973a
commit
d25a9c3c79
1 changed files with 4 additions and 0 deletions
|
|
@ -4,7 +4,9 @@ RewriteEngine On
|
||||||
RewriteRule ^layouts/(.+)/(.+)\.html$ ./index.php [L]
|
RewriteRule ^layouts/(.+)/(.+)\.html$ ./index.php [L]
|
||||||
|
|
||||||
# static files
|
# static files
|
||||||
|
RewriteCond %{SCRIPT_FILENAME} !-f
|
||||||
RewriteRule ^(.+)/files/(member_extra_info|attach|cache|faceOff)/(.*) ./files/$2/$3 [L]
|
RewriteRule ^(.+)/files/(member_extra_info|attach|cache|faceOff)/(.*) ./files/$2/$3 [L]
|
||||||
|
RewriteCond %{SCRIPT_FILENAME} !-f
|
||||||
RewriteRule ^(\w+)(/\w+(/entry)?)?/(files|modules|common|widgets|widgetStyle|layouts|addons)/(.*) ./$4/$5 [L]
|
RewriteRule ^(\w+)(/\w+(/entry)?)?/(files|modules|common|widgets|widgetStyle|layouts|addons)/(.*) ./$4/$5 [L]
|
||||||
|
|
||||||
# rss , blogAPI
|
# rss , blogAPI
|
||||||
|
|
@ -25,8 +27,10 @@ RewriteRule ^(\d+)$ ./index.php?document_srl=$1 [L]
|
||||||
RewriteRule ^(\w+)/(\d+)$ ./index.php?vid=$1&document_srl=$2 [L]
|
RewriteRule ^(\w+)/(\d+)$ ./index.php?vid=$1&document_srl=$2 [L]
|
||||||
|
|
||||||
# mid link
|
# mid link
|
||||||
|
RewriteCond %{SCRIPT_FILENAME} !-d
|
||||||
RewriteRule ^(\w+)/?$ ./index.php?mid=$1 [L]
|
RewriteRule ^(\w+)/?$ ./index.php?mid=$1 [L]
|
||||||
# vid + mid link
|
# vid + mid link
|
||||||
|
RewriteCond %{SCRIPT_FILENAME} !-d
|
||||||
RewriteRule ^(\w+)/(\w+)/?$ ./index.php?vid=$1&mid=$2 [L]
|
RewriteRule ^(\w+)/(\w+)/?$ ./index.php?vid=$1&mid=$2 [L]
|
||||||
|
|
||||||
# mid + document link
|
# mid + document link
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue