svnno****@sourc*****
svnno****@sourc*****
2012年 7月 9日 (月) 00:28:49 JST
Revision: 154
http://sourceforge.jp/projects/smartupload/scm/svn/commits/154
Author: hryksbt
Date: 2012-07-09 00:28:49 +0900 (Mon, 09 Jul 2012)
Log Message:
-----------
Modified Paths:
--------------
trunk/src/Practice/.htaccess
trunk/src/Practice/app/webroot/.htaccess
-------------- next part --------------
Modified: trunk/src/Practice/.htaccess
===================================================================
--- trunk/src/Practice/.htaccess 2012-07-08 15:21:08 UTC (rev 153)
+++ trunk/src/Practice/.htaccess 2012-07-08 15:28:49 UTC (rev 154)
@@ -2,7 +2,4 @@
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
- RewriteCond %{REQUEST_URI} !/$
- RewriteCond %{REQUEST_URI} !\.[^/\.]+$
- RewriteRule .* %{REQUEST_URI}/ [L,R]
</IfModule>
\ No newline at end of file
Modified: trunk/src/Practice/app/webroot/.htaccess
===================================================================
--- trunk/src/Practice/app/webroot/.htaccess 2012-07-08 15:21:08 UTC (rev 153)
+++ trunk/src/Practice/app/webroot/.htaccess 2012-07-08 15:28:49 UTC (rev 154)
@@ -1,6 +1,6 @@
<IfModule mod_rewrite.c>
RewriteEngine On
- RewriteCond %{REQUEST_URI} !/$
- RewriteCond %{REQUEST_URI} !\.[^/\.]+$
- RewriteRule ^(.*)$ $1/ [R=301,L]
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>