Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ericfkw

    (@ericfkw)

    Hello @kamarch,

    I had set the following in CloudFront:

    Behavior, add following:
    0 wp-admin*
    1 wp-login*
    2 wp-admin/admin-ajax.php
    3 wp-includes/*.php

    And in each above Behavior Settings:
    Allow HTTP Methods -> GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
    Forward Headers -> All
    Forward Cookies -> All (Actually can set Whitelist but need to list them all)
    Forward QueryString -> Yes

    Thread Starter ericfkw

    (@ericfkw)

    Hello @jackie McBride,

    Very thanks for your help. Finally I got the key to the issue and now fixed.

    Which is about he CloudFront setting on AWS, as by default it hasn’t forward cookies, I then added some new behavior for wp-admin* and wp-login* usage then now works!

    So the problem should not be issue if haven’t behind CloudFront(old URL hasn’t set that) but on new one with CloudFront then issue happen.

    So to make it clear, which is not WordPress settings problem. 🙂

    Again, very thanks!

    Regards,
    Eric

    Thread Starter ericfkw

    (@ericfkw)

    @tara,

    Thanks. Sorry haven’t said that which is our own server setup on Amazon, not a public hosting. I checked Error log but no insight on Admin login issue, it just logged below:

    (4)Interrupted system call: FastCGI: comm with server “/var/www/cgi-bin/php-fpm” aborted: select() failed

    Thanks,
    Eric

    Thread Starter ericfkw

    (@ericfkw)

    @jackie McBride,

    Thanks, I tried replaced all the instances of old string to new. The old one we are using is exactly a valid domain like http://new.mpop.hk, so we haven’t used localhost before for the development.

    Now, while entering the site with old URL described above, it will auto changed to new URL, supposed it is because the value settings in wp_options table(‘siteurl’ and ‘home’ column), but the Admin panel is still no luck to enter.

    The same Error happens.

    Do I need to create a new virtual host and setup the wordpress again?

    Very Thanks for your help.

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