2014-04-21 5 views

답변

1
#redirect empty user agent, UNLESS it's accessing the RSS feed 
RewriteCond %{HTTP_USER_AGENT} ^$ 
RewriteCond %{REQUEST_URI} !^/rss.php # <-- path to rss.php 
RewriteRule .* http://%{REMOTE_ADDR}/ [R,L] 

출처 : http://wiki.e107.org/index.php?title=Htaccessexample

관련 문제