Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess 如何屏蔽重定向的子域_.htaccess_Url_Web Hosting_Url Masking - Fatal编程技术网

.htaccess 如何屏蔽重定向的子域

.htaccess 如何屏蔽重定向的子域,.htaccess,url,web-hosting,url-masking,.htaccess,Url,Web Hosting,Url Masking,我已经在afzc.ae下创建了一个子域slic.afzc.ae。我已将其重定向到。 当我们在web浏览器中键入slic.afzc.ae时,它会正确重定向。但现在我需要掩饰。 我已将.htaccess编辑为 Options +FollowSymLinks -MultiViews # Turn mod_rewrite on RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^http\:\/\/13\.234\.125\.75\/mis

我已经在afzc.ae下创建了一个子域slic.afzc.ae。我已将其重定向到。 当我们在web浏览器中键入slic.afzc.ae时,它会正确重定向。但现在我需要掩饰。 我已将.htaccess编辑为

Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^http\:\/\/13\.234\.125\.75\/mis\/index\.php$ [NC]
RewriteRule ^ http://slic.afzc.ae%{REQUEST_URI} [R,L]
但它不是重定向。请帮助我如何屏蔽url