Hi,
At the first time, sorry if this thread is better in subforum EasyApache, but I'm not sure if like is for cloudflare, is better here or in subforum EA.
Well, in the last days I read a lot for configure mod_remoteip for cloudflare, and unfortunately for me, it is not my forte and I have not reached any conclusion or method to do so.
At the first, I read the cloudflare instructions:
https://support.cloudflare.com/hc/en-us/articles/360029696071
Point 2, I don't know how made and not view the file /etc/apache2/sites-available/000-default.conf, is for virtualhost, this is new for me.
Point 4, also, in the patch: /etc/apache2/conf-available/remoteip.conf The folder .../conf-available/... not exist....
I think are old instructions or...
Continue search and reading, I view this threads:
https://forums.cpanel.net/threads/configure-mod_remoteip-for-cloudflare.640101/
https://forums.cpanel.net/threads/mod_cloudflare-vs-mod_remoteip.594783/
https://forums.cpanel.net/threads/problem-with-mod_remoteip.536891/
https://forums.cpanel.net/threads/visitor-ips-in-logs-using-cloudflare.594027/
I read alls, some are olds and/or versions differents at me, others, are for cloud (and I have a VPS), finally, I think this is the correct and most similar to me:
https://forums.cpanel.net/threads/visitor-ips-in-logs-using-cloudflare.594027/
First step, need added the code below , in /etc/apache2/conf/httpd.conf
I go to file /etc/apache2/conf/httpd.conf
At the end of this file appears/indicate this:
Uops, "Do not edit..."
If are indicate it in capital letters and well specified, it has its importance, therefore, I stop and do not edit it ...
Conclusion: Something that surely is relatively easy, my knowledge in this aspect specifically is very low and I see that, I don't know how to do something that, apparently, is easy ...
Thanks in advance
At the first time, sorry if this thread is better in subforum EasyApache, but I'm not sure if like is for cloudflare, is better here or in subforum EA.
Well, in the last days I read a lot for configure mod_remoteip for cloudflare, and unfortunately for me, it is not my forte and I have not reached any conclusion or method to do so.
At the first, I read the cloudflare instructions:
https://support.cloudflare.com/hc/en-us/articles/360029696071
Point 2, I don't know how made and not view the file /etc/apache2/sites-available/000-default.conf, is for virtualhost, this is new for me.
Point 4, also, in the patch: /etc/apache2/conf-available/remoteip.conf The folder .../conf-available/... not exist....
I think are old instructions or...
Continue search and reading, I view this threads:
https://forums.cpanel.net/threads/configure-mod_remoteip-for-cloudflare.640101/
https://forums.cpanel.net/threads/mod_cloudflare-vs-mod_remoteip.594783/
https://forums.cpanel.net/threads/problem-with-mod_remoteip.536891/
https://forums.cpanel.net/threads/visitor-ips-in-logs-using-cloudflare.594027/
I read alls, some are olds and/or versions differents at me, others, are for cloud (and I have a VPS), finally, I think this is the correct and most similar to me:
https://forums.cpanel.net/threads/visitor-ips-in-logs-using-cloudflare.594027/
First step, need added the code below , in /etc/apache2/conf/httpd.conf
I go to file /etc/apache2/conf/httpd.conf
At the end of this file appears/indicate this:
Code:
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# DO NOT EDIT. AUTOMATICALLY GENERATED. USE INCLUDE FILES IF YOU NEED TO MAKE A CHANGE
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
If are indicate it in capital letters and well specified, it has its importance, therefore, I stop and do not edit it ...
Conclusion: Something that surely is relatively easy, my knowledge in this aspect specifically is very low and I see that, I don't know how to do something that, apparently, is easy ...
Thanks in advance