Answer the question
In order to leave comments, you need to log in
CloudFlare not working in a directory?
Greetings,
There is a site that works through CloudFlare (hereinafter referred to as CF). If you open the main (/), then everything is fine. Request via CF. And if you go to a folder or follow a link inside the site, for example, in / a, then the request goes directly.
What could be the problem?
Here is a thing in .htaccess on / gives access to the site, and in the directory 403. ( Link source )
Order deny,allow
Deny from all
Allow from 103.21.244.0/22
Allow from 103.22.200.0/22
Allow from 103.31.4.0/22
Allow from 104.16.0.0/12
Allow from 108.162.192.0/18
Allow from 131.0.72.0/22
Allow from 141.101.64.0/18
Allow from 162.158.0.0/15
Allow from 172.64.0.0/13
Allow from 173.245.48.0/20
Allow from 188.114.96.0/20
Allow from 190.93.240.0/20
Allow from 197.234.240.0/22
Allow from 198.41.128.0/17
Allow from 2400:cb00::/32
Allow from 2405:8100::/32
Allow from 2405:b500::/32
Allow from 2606:4700::/32
Allow from 2803:f800::/32
Allow from 2c0f:f248::/32
Allow from 2a06:98c0::/29
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question