주제: 엑박의 .htaccess 설정 설명 좀 해주세요..
엑박의 .htaccess 설정 예
#<IfModule mod_url.c>
#CheckURL Off
#</IfModule>
#SetEnv PRELOAD_CONFIG 1
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !^/punbb(/*)
RewriteRule ^(.+[^/])$ $1/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/punbb(/*)
RewriteRule ^(thumbnail)/([0-9]+/.+)$ cache/$1/$2 [L]
RewriteRule ^(.*)$ rewrite.php [L,QSA]
디렉토리나 php 플래시 파일이 실행 가능한 예
#<IfModule mod_url.c>
#CheckURL Off
#</IfModule>
#SetEnv PRELOAD_CONFIG 1
RewriteEngine On
RewriteBase /
RewriteRule ^(thumbnail)/([0-9]+/.+)$ cache/$1/$2 [L]
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !^/punbb(/*)
RewriteRule ^(.+[^/])$ $1/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/punbb(/*)
RewriteRule ^(.*)$ rewrite.php [L,QSA]
위의 RewriteRule ^(thumbnail)/([0-9]+/.+)$ cache/$1/$2 [L] 이 위치에 따라서 즉, /punbb/ 와 /.php /.swf 등이 출력이 되는 경우와 엑박으로 뜨는 경우.... 설명 좀 부탁 드려도 될까요?
bellblog (2008-06-19 20:01:23)에 의해 마지막으로 수정