Question

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 .

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top