Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • I also get many false positives with https. Makes the plugin useless in its current state.

    Thread Starter andipandi

    (@andipandi)

    (fixed)

    Many thanks for all your input!

    I think the problem was that I created the site as mydomain.com and not https://www.mydomain.com which later on caused problems with the subdomains in domain mapping and the www.

    So I
    – changed wp_blogs domain entry in mysql from mydomain.com to https://www.mydomain.com
    – changed wp_options entry for siteurl and home to https://www.mydomain.com
    – changed wp-config.php to include
    define(‘DOMAIN_CURRENT_SITE’, ‘www.mydomain.com’);
    – create automatic redirect in .htaccess

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^mydomain.com$
    RewriteRule (.*) https://www.mydomain.com/$1 [R=301,L]

    That is it.

    Thread Starter andipandi

    (@andipandi)

    Dear Ron!

    Many thanks for this info!
    But how do I find where it is coming from?
    I have not found any redirect inside of Apache, also the logs are mute there.
    The WP access logs are full of the 301/302, so is that a sign the WP is misconfigured?
    Can I somehow find out at what point this happens so I can trace back to which configuration setting/DB entry this comes from?

    Many thanks!

    Thread Starter andipandi

    (@andipandi)

    Also, looking at the WP output (to the access log file) I see when using curl

    x.x.x.x – – [22/Apr/2014:14:23:40 +0200] “GET / HTTP/1.1” 302 275 “-” “curl/7.30.0”
    x.x.x.x – – [22/Apr/2014:14:24:04 +0200] “GET / HTTP/1.1” 200 8791 “-” “curl/7.30.0”

    The 302 is the one from mydomain.com (not working), the 200 is the one from mydomain2.com.

    When I use Firefox, I get

    x.x.x.x – – [22/Apr/2014:14:33:43 +0200] “GET / HTTP/1.1” 302 320 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:43 +0200] “GET /wp-signup.php?new=www HTTP/1.1” 302 366 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:44 +0200] “GET / HTTP/1.1” 302 320 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:44 +0200] “GET /wp-signup.php?new=www HTTP/1.1” 302 366 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:44 +0200] “GET / HTTP/1.1” 301 382 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:44 +0200] “GET / HTTP/1.1” 302 320 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:44 +0200] “GET /wp-signup.php?new=www HTTP/1.1” 302 366 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:44 +0200] “GET / HTTP/1.1” 301 382 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:44 +0200] “GET / HTTP/1.1” 302 320 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:45 +0200] “GET /wp-signup.php?new=www HTTP/1.1” 302 366 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:45 +0200] “GET / HTTP/1.1” 301 382 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:45 +0200] “GET / HTTP/1.1” 302 320 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:45 +0200] “GET /wp-signup.php?new=www HTTP/1.1” 302 366 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:45 +0200] “GET / HTTP/1.1” 301 382 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:45 +0200] “GET / HTTP/1.1” 302 320 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:45 +0200] “GET /wp-signup.php?new=www HTTP/1.1” 302 366 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:46 +0200] “GET / HTTP/1.1” 301 382 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:46 +0200] “GET / HTTP/1.1” 302 320 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:46 +0200] “GET /wp-signup.php?new=www HTTP/1.1” 302 366 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:46 +0200] “GET / HTTP/1.1” 301 382 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”

    and

    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET / HTTP/1.1” 200 2812 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET /wp-content/themes/twentythirteen/fonts/genericons.css?ver=2.09 HTTP/1.1” 304 174 “https://www.mysite2.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET /wp-content/themes/twentythirteen/style.css?ver=2013-07-18 HTTP/1.1” 304 174 “https://www.mysite2.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET /wp-includes/js/jquery/jquery.js?ver=1.11.0 HTTP/1.1” 304 175 “https://www.mysite2.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1 HTTP/1.1” 304 174 “https://www.mysite2.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET /wp-includes/js/masonry.min.js?ver=3.1.2 HTTP/1.1” 304 174 “https://www.mysite2.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET /wp-includes/js/jquery/jquery.masonry.min.js?ver=3.1.2 HTTP/1.1” 304 173 “https://www.mysite2.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”
    x.x.x.x – – [22/Apr/2014:14:33:14 +0200] “GET /wp-content/themes/twentythirteen/js/functions.js?ver=2013-07-18 HTTP/1.1” 304 173 “https://www.mysite2.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0”

    Thread Starter andipandi

    (@andipandi)

    Thanks for advise!

    The results:
    Apache logs dont show any error during me trying to access it.
    The WordPress logs though show that I try to access
    https://mysite.com/wp-signup.php?new=www rather than https://mysite.com. I also see this with Firefox now (but did not see it with Internet Explorer).

    So 2 strange things here:
    Why the different address (not index.php if any)?
    Why does it not work, since wp-signup.php is present and also mydomain2.com/wp-signup.php does display the error page of my blog (registration disabled), which is fine.

    Oh, and what I just noticed might be important too, the error message in Firefox is more meaningful (only tried IE so far):

    The page isn’t redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

Viewing 5 replies - 1 through 5 (of 5 total)