PHP Won't process when .htaccess present
Posted by:
Beachhouse
(---.sub-75-210-131.myvzw.com)
Date: July 25, 2010 06:03PM
Hello fellow wamp enthusiasts,
Occasionally, when switch back and forth between the sites I'm working on, the PHP module in wamp stops working for a site. When I browse to a page in that site, wamp outputs the entire file, including all the PHP code, just as it would if the file were HTML.
I have tracked this error to a .htaccess issue. I'm not sure if there is a part of the .htaccess that is processing and causing the issue, or just the fact that the file is there.
I remove the file, and presto, everything works. Everything except URL rewriting that is.
So, is there any way to get the best of both worlds here? URL rewriting/.htaccess AND php to function?
Thanks all!
WAMP is a great product, I use it everyday!