htaccess restrict access to index.php only – Apache
I was writing a .htaccess file for my PHP script. This should only allow access to the index.php, cronjob.php and execute.php pages. I wrote the .htaccess file as follows: # Set default index file DirectoryIndex index.php # Disable indexing Options…