What I'm trying to achieve is to use htaccess to only allow requests coming in from the same server, but do so by using available variables and not specify the IP. The goal is to be able to run cron jobs and ajax requests to the files in the respective folder, but return a 404 page if tried to access directly.What I'm trying to achieve is to use htaccess t