svenk
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Move] wordpress-move/backup, DBBackup*.sql size 0I have root privileges on the server. Backup Database from phpmyadmin works. Also WP Complete Backup for WordPress creates backups.
What I wrote did not help, now the log says:
127.0.1.1:80 – – – [12/Jun/2012:09:48:01 +0000] “GET
so no Client IP, nothing is there. I have to deal with my network…Camu, thank you for your help and for your WP SlimStat!
PS: where can I vote for your plugin to say thank you?
I checked my Apache access.log in the folder: /var/log/apache2
(log name is actually other_vhosts_access.log). The log shows:127.0.1.1:80 192.168.1.13 – – [12/Jun/2012:09:10:36 +0000] “GET …
IP 192.168.1.13 is my NetworkActiv AUTAPF port forwarder.
I’ll check this
in the file /etc/apache2/apache2.conf %h has to be replaced by …
# If you are behind a reverse proxy, you might want to change %h
# into %{X-Forwarded-For}i
…
LogFormat “%v:%p %{X-Forwarded-For}i %l %u %t \”%r\” %>s %O …Yes, please advise what to look for.
unfortunately all are returning 0.0.0.0
HTTP_X_FORWARDED_FOR
HTTP_FORWARDED_FOR
HTTP_CLIENT_IPSorry for that, it was a typing error. Does not work.
without switch IP is my proxy IP: vpn.mydomain.com (192.168.1.13)
with the switch IP is: 0.0.0.0
any ideas?Unfortunately I don’t have a working code. I just tried switching contents of $long_ip[0] and $long_ip[1] in _get_ip2long_remote_ip() like matwes suggested in the previous thread.
$long_ip[2] = $long_ip[0]; $long_ip[1] = $long_ip[0]; $long_ip[0] = $long_ip[2];does not work for my proxy situation.
a new topic started
Please help with this “dirty” solution. Switching contents of $long_ip[0] and $long_ip[1] in _get_ip2long_remote_ip() did not help. I’m getting 0.0.0.1 as the visitor’s IP.
Cheers,
Sven