Since a recent server move, my site is broken. Previously, I was using .htaccess to write URLs in this form:
This was a server-side rewrite, and the index script loads content from the database according to the value of $_SERVER[‘PATH_INFO’]. This is no longer working, although I’ve put in a temporary fix to send a client-side redirect, which works.
When the server-side rewrite is in place, I get this error:
No input file specified.
which is definitely PHP related, but I’m unsure of the exact cause. The rewrite code that doesn’t work is:
RewriteRule ^(.*) /index.php/$1 [L]
The workaround is:
RewriteRule ^(.*) /index.php/$1 [L,R=301]
Anyone have any ideas?