On an Apache host, I have a folder called /thumbs with a program in it called program.php that I will use to create thumbnails.
There is a .htaccess file that contains the following lines:
options -indexes errordocument 404 program.php
What should happen is that when I call /thumbs/image1.jpg, program.php should be executed.
What actually happens is that the browser just echoes the name of the program. Calling /thumbs/image1.jpg results in the browser showing:
and no code is executed.
I have used this technique on many other sites and it has worked, but not this time.
Anybody know why this might be the case?