Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • This code, placed in the Form tab between the message textarea and the submit button, works for me, on blog.itproxy.org/contact:

    [acceptance acceptance-106 default:on] I accept the <a href="https://blog.itproxy.org/terms-and-conditions/" target="_blank" rel="noopener">Terms and Conditions</a> [/acceptance]

    Apologies in advance if I have completely misunderstood what the issue is.

    Thread Starter Adrian Kentleton

    (@adriankit)

    Not so much a solution, more a workaround!

    I got what I wanted, my uploads in year folders under wp-content, by editing two files:

    a. wp-config.php, adding (before ABSPATH lines)
    define('UPLOADS', 'wp-content');

    b. wp-includes\functions.php (line 2001)
    $subdir = "/$y"; ie removing /$m from that line

    It’s always a bit of a pain if you have to acheive what you want through editing files, rather than through the GUI, since there’s always a risk of losing customisations through updates/upgrades.

    However, I always make a note of the files edited, comment the edits with my name (makes them easy to find later), and save a copy of the files with an .ak extension (so they’ll still be there if the originals are overwritten).

    Thread Starter Adrian Kentleton

    (@adriankit)

    Thanks, Jamie, tried that, but it didn’t work.

    Have installed a fresh instance of Worpress 4.8.2-en_GB. On first opening wp-admin GUI, went to media settings, unchecked ‘Organise …’, hit ‘Save’, told settings saved, but ‘Organise …’ rechecked!

    Running this on Apache 2.4.9, MySQL 5.5.27, PHP 5.4.28 on Win 8.1 64-bit.

    So, nothing I’ve done. But why doesn’t it work out-of-the-box?

    Thread Starter Adrian Kentleton

    (@adriankit)

    Ha! Still have the inability to login via my VPN, but have discovered why this morning, any access to my blog (and any other sites hosted on my server!) became impossible via my VPN.

    I run a script every morning that analyses my mail and web server logs for inappropriate access attempts, which automatically adds the offending IP addresses to a server-wide firewall blocklist. The IP addresses of the exit nodes of the VPN servers I normally use appeared in this blocklist; one of the downsides of using a free, open-to-anyone, VPN service, which some folk will use for nefarious purposes!

    Need to modify my script to allow those IP addresses as exceptions, then get back to investigating the original issue!

    Thread Starter Adrian Kentleton

    (@adriankit)

    Curiouser and curiouser … I now can’t connect at all to my blog via the VPN, no problem if go direct!

    My VPN setup is OpenVPN + .ovpn config files. Looks like a problem with my VPN setup (which is a bit sluggish, but otherwise works fine).

    I’d be interested if anyone else has problems visiting site via VPN, but OK if bypass VPN: blog.itproxy.org

    Thread Starter Adrian Kentleton

    (@adriankit)

    Thanks @tobifjellner for your ideas.

    I’ve checked my server firewall logs, and whether I (try to) connect to the site home page or login page directly or through the VPN, the logs report allowing access on port 80 in every case; so I appear to be ‘getting inside’ whichever is used and wherever I try to go ie probably not an https issue.

    However, will investigate the .htaccess issue. I don’t normally use these files since I have access to the main (Apache) server configuration, so control access and rewrite rules via <Directory> or <VirtualHost> directives. However, because I don’t normally use .htaccess, it’s quite possible something’s been lost in transalation as I’ve tried to adapt the rules to fit the different context.

    Will post back when I’ve more info, either eliminated it as a cause without result, or resolved the problem.

    Thanks again for your help.

    One possibility is a change to your server’s firewall configuration – no longer allowing the webserver to connect to (rather than receive connections from) the internet. What happens if you disable the firewall temporarily?

    • This reply was modified 8 years, 11 months ago by Adrian Kentleton. Reason: typo
Viewing 7 replies - 1 through 7 (of 7 total)