Ivan Shmakov
2016-11-04 18:45:53 UTC
[Cross-posting to news:alt.apache.configuration, because, well,
why not?]
mod_alias or mod_rewrite? Do the command like the one below
show anything of relevance to the redirect you get?
$ grep -irE -- 'Redirect|instantanes-alphonse\.fr' /etc/apache2 /var/www
Also, is there a chance that the redirect is produced by the
application (WordPress) itself rather than Apache?
redirect, I presume.
why not?]
After moving my site to a new apache server, i'm not able to access
to
curl -v http://www.followmytrack.net
* Rebuilt URL to: http://www.followmytrack.net/
* Hostname was NOT found in DNS cache
* Trying 164.132.197.229...
* Connected to www.followmytrack.net (164.132.197.229) port 80 (#0)
< Date: Thu, 03 Nov 2016 11:18:30 GMT
* Server Apache is not blacklisted
< Server: Apache
< Location: http://www.instantanes-alphonse.fr/
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
<
* Connection #0 to host www.followmytrack.net left intact
[Duplicate transcript removed.]to
curl -v http://www.followmytrack.net
* Rebuilt URL to: http://www.followmytrack.net/
* Hostname was NOT found in DNS cache
* Trying 164.132.197.229...
* Connected to www.followmytrack.net (164.132.197.229) port 80 (#0)
GET / HTTP/1.1
User-Agent: curl/7.38.0
Host: www.followmytrack.net
Accept: */*
< HTTP/1.1 301 Moved PermanentlyUser-Agent: curl/7.38.0
Host: www.followmytrack.net
Accept: */*
< Date: Thu, 03 Nov 2016 11:18:30 GMT
* Server Apache is not blacklisted
< Server: Apache
< Location: http://www.instantanes-alphonse.fr/
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
<
* Connection #0 to host www.followmytrack.net left intact
On all my wordpress, my htaccess are clean and i don't have any 301
redirection.
Well, the question then will be, what /do/ you have? Do you useredirection.
mod_alias or mod_rewrite? Do the command like the one below
show anything of relevance to the redirect you get?
$ grep -irE -- 'Redirect|instantanes-alphonse\.fr' /etc/apache2 /var/www
Also, is there a chance that the redirect is produced by the
application (WordPress) itself rather than Apache?
How i can remove this 301 ?
By disabling the part of the configuration that results in theredirect, I presume.
--
FSF associate member #7257 58F8 0F47 53F5 2EB2 F6A5 8916 3013 B6A0 230E 334A
FSF associate member #7257 58F8 0F47 53F5 2EB2 F6A5 8916 3013 B6A0 230E 334A