1

주제: 엑박의 .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)에 의해 마지막으로 수정

Good Touch

2

답글: 엑박의 .htaccess 설정 설명 좀 해주세요..

1.7rc1 업글 후 생성되는 .htaccess 입니다.

#<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
RewriteRule ^(.+[^/])$ $1/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ rewrite.php [L,QSA]

또, 다른 곳의 업글 후  .htaccess 입니다.

#<IfModule mod_url.c>
#CheckURL Off
#</IfModule>
#SetEnv PRELOAD_CONFIG 1
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(cache)+/+(.+[^/])\.(cache|xml|txt|log)$ - [NC,F,L]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(thumbnail)/([0-9]+/.+)$ cache/$1/$2 [L]
RewriteRule ^(.*)$ rewrite.php [L,QSA]

bellblog (2008-06-20 04:57:22)에 의해 마지막으로 수정

Good Touch

3

답글: 엑박의 .htaccess 설정 설명 좀 해주세요..

공지에 떳습니다.
Textcube 1.7.1 오류 패치 안내 (6월 21일 5시)
http://notice.textcube.org/ko/130

bellblog (2008-06-21 12:32:33)에 의해 마지막으로 수정

Good Touch