.htaccess
작성자 정보
- 문현경 작성
- 작성일
컨텐츠 정보
- 2,138 조회
- 0 추천
- 목록
본문
apache 1.3.37 입니다.
여기서 사용자웹페이지에 무단링크 금지 를 설정하고있습니다.
유저최상위디렉토리 에 .htaccess 를 설정하고있습니다.
.htaccess 내용은
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} /throttle-me
RewriteRule (.*) - [L]
RewriteCond %{ENV:REDIRECT_SURI} !^$
RewriteRule (.*) - [L]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [L]
RewriteRule ^$ blog/index.php [E=SURI:1,L]
RewriteRule ^[0-9]+$ blog/item.php [E=SURI:1,L]
RewriteRule ^favicon.ico$ blog/favicon.ico.php [E=SURI:1,L]
RewriteRule ^index.gif$ blog/index.gif.php [E=SURI:1,L]
RewriteCond %{QUERY_STRING} (^|&)pl=([0-9]+)
RewriteRule ^index.php$ %2 [NE,L]
RewriteRule ^index.php$ blog/index.php [E=SURI:1,L]
RewriteRule ^index.xml$ blog/rss/index.php [E=SURI:1,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule !^(blog|cache)/ - [L]
RewriteRule ^(entry|attachment|category|keylog|tag|search|plugin)/? blog/$1/index.php [E=SURI:1,L]
RewriteRule ^(.+)/[0-9]+$ blog/$1/item.php [E=SURI:1,L]
RewriteRule ^(.+)$ blog/$1/index.php [E=SURI:1,L]
위에 내용을 적용시켰으나 이미지가 로컬에서조차 보이지 않고 있습니다.
로컬에서 이미지가 보이게 할려면 어떻게 적용시켜야하나요
관련자료
-
이전
-
다음