Вопрос

I used the following code in wamp http.conf of apache

<VirtualHost *:80 >

   ServerName abc.com
   Redirect permanent / http://www.xyz.com/

</VirtualHost>

But now i cannot access abc .com after removing the the code from the file . I guess because of Redirect Permanent . Help me to remove the permanent redirect from wamp .

Это было полезно?

Решение

The browser caches the 301 Moved Permanently, until told otherwise. It is default behavior :

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2

I think a ctrl-F5 and/or a cache cleaning is enough.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top