Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.apache.configuration > #4307 > unrolled thread
| Started by | Ivan Shmakov <ivan@siamics.net> |
|---|---|
| First post | 2016-11-04 18:45 +0000 |
| Last post | 2016-11-04 20:49 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to alt.apache.configuration
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: 301 on my wordpress but no htaccess Ivan Shmakov <ivan@siamics.net> - 2016-11-04 18:45 +0000
Re: 301 on my wordpress but no htaccess Eli the Bearded <*@eli.users.panix.com> - 2016-11-04 20:49 +0000
| From | Ivan Shmakov <ivan@siamics.net> |
|---|---|
| Date | 2016-11-04 18:45 +0000 |
| Subject | Re: 301 on my wordpress but no htaccess |
| Message-ID | <87ins32ie6.fsf@violet.siamics.net> |
>>>>> francis marielle <francis.marielle@gmail.com> writes: [Cross-posting to news:alt.apache.configuration, because, well, 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) > > GET / HTTP/1.1 > > User-Agent: curl/7.38.0 > > Host: www.followmytrack.net > > Accept: */* > > > < HTTP/1.1 301 Moved Permanently > < 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.] > 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 use 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 the redirect, I presume. -- FSF associate member #7257 58F8 0F47 53F5 2EB2 F6A5 8916 3013 B6A0 230E 334A
[toc] | [next] | [standalone]
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Date | 2016-11-04 20:49 +0000 |
| Message-ID | <eli$1611041645@qz.little-neck.ny.us> |
| In reply to | #4307 |
In comp.infosystems.www.servers.unix, Ivan Shmakov <ivan@siamics.net> wrote: [huge snip] > Also, is there a chance that the redirect is produced by the > application (WordPress) itself rather than Apache? There's a very good chance of that. Wordpress seems to like to have a single domain name and to force all traffic to use that name. Look in http.../wp-admin/options-general.php Elijah ------ enjoy the fun of trying to use the same config for dev, qa, and staging
[toc] | [prev] | [standalone]
Back to top | Article view | alt.apache.configuration
csiph-web