htaccess 질문드립니다
본문
서버에 동영상을 올렸는데 검색엔진은 허용하고 특정도메인에서만 접속이 가능하게 하고싶습니다.
검색창에서 서버에 올린 동영상 주소 입력시 바로 이동이 되서 동영상 주소를 입력하면 다른곳으로 리다이렉트 시키고 싶습니다. 구글에서 찾아보면서 계속 시도해보고있지만 전혀 적용이 되질 않습니다.
http://www.htaccesseditor.com/kr#a_access 이 사이트에서도 작성을 해보았지만 실패하였습니다.
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
AuthUserFile /html/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
ErrorDocument 400 http://example.dothome.co.kr/
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.moana\.dothome\.co\.kr)(:80)? [NC]
RewriteRule ^(.*) http://moana.dothome.co.kr/$1 [R=301,L]
Redirect permanent http://서버주소/video/wave.mp4 https://www.naver.com/
order deny,allow
allow from http://www.moana.dothome.co.kr/
allow from http://.moana.dothome.co.kr/
deny from all
빨리 해결을 하고싶은데 조금만 도와주실 선생님분들 없으신가요..?ㅜㅜㅜ