I've been using apache and php to create clean urls for a while, and suddenly the other day it just stopped working. My host is godaddy.com and I think this might be the source of my trouble, but I'm not sure what exactly that trouble is. Here is my .htaccess file:
-
AddHandler x-httpd-php5 .php
-
AddHandler x-httpd-php .php4
-
-
<FilesMatch "^comic$|^post$|^characters$|^extras$">
-
ForceType application/x-httpd-php
-
</FilesMatch>
-
I have a vague understanding of how this works (it was a cut and paste on my part I'm sorry to say - this just seems to go over my head every time I try to get it, and before now, it simply worked). From what I know of it, it looks for the words comic, post, characters, or extras, and adds .php to the end of them internally so it can be recognized as a valid page. My php page explodes the URL (which is in the form of, say, sitename.com/folder/comic/1), and puts that in an array (so 1, which is the comic_id, would be array[3]). I am fairly certain the php end of things is fine, and that it's apache/.htaccess giving me trouble since I simply get the message "No input file specified." when I try to use a clean url (index pages load fine).
This was working fine as early as last week (I think - I've been pretty busy lately), but is suddenly not.
Anyone see where my mistake is, or is this something godaddy may have changed on their end that's making this not work?