我有点删除了我的 .htacess 上的一行
现在我无法打开 support.sitename.com
这是我的支持文件夹, public_html/support
但我怎样才能将其重定向到support.sitename.com
我写了这个,
#RewriteCond %{REQUEST_URI} != support.sitename.com$
我很确定那不是我删除的代码。但它比那更接近。我遇到了大麻烦,请帮助>.<
RewriteEngine on
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif|css|gif|json|js)
RewriteCond %{REQUEST_URI} !^/support$
RewriteCond %{REQUEST_URI} !^/PHPMailer$
RewriteCond %{REQUEST_URI} !^/scripts$
RewriteCond %{REQUEST_URI} !/adarna.html$
RewriteCond %{REQUEST_URI} !/bh6750.html$
RewriteCond %{REQUEST_URI} !/contact-us.html$
RewriteCond %{REQUEST_URI} !/dr-holmes.html$
RewriteCond %{REQUEST_URI} !/email.php$
RewriteCond %{REQUEST_URI} !/jo-rubio.html$
RewriteCond %{REQUEST_URI} !/npk-medical.html$
RewriteCond %{REQUEST_URI} !/oraderm.html$
RewriteCond %{REQUEST_URI} !/outsource-to-philippines.html$
RewriteCond %{REQUEST_URI} !/rw-chinese.html$
RewriteCond %{REQUEST_URI} !/rw-manila.html$
>> area of code i deleted
RewriteRule (.*) / [R=301,L]