Running a droplet with Ubuntu 14.04 x64.
In my /var/www/html directory, I have a include/ folder of files I include in PHP files but aren't standalone. I would like to prohibit direct URL access (return 403 errors) to...
I am using Ubuntu 14.04 X64.
I am setting up a basic Cron job with crontab -e:
* * * * * /usr/bin/php /var/www/html/test/test.php >> /var/www/cron/cron.log
This is /var/www/test/test.php:
I am running Ubuntu 14.04 x64.
I have enabled mod_rewrite on my droplet.
This works (i.e. correctly redirects to testfile.php):
RewriteRule ^testfile2$ testfile.php
But this doesn't (gives me a 404 error):