Hi,
I have a "weird" problem here with some of my mod_rewrite rules.
My main .htaccess file located in my domain root includes a lot of rewrite rules and these 2 rules:
AddHandler x-httpd-php .php .htm .html
--> parses .html files as .php files
Options +FollowSymLinks -MultiViews -Indexes
--> I have no exact idea what the last set of rules do but after some research I found out that they needed to be implemented to make my rewrite rules work on my GODADDY server
Now since then I could not make index.php files work, but that was never an issue since I just renamed them to index.html.
All other .php files, e.g. "test.php" work fine.
Here's my problem:
I just implemented a Mapquest API, which needs me to include a ton of .php files via the PHP require_once() statement.
The server started giving me a PHP Parse error, which implemented a problem with the PHP statement "instanceof".
Since "instanceof" requires PHP 5 which I am running I found out after some trial and error that the mod_rewrite rules cause the problem.
After turning off "Options +FollowSymLinks -MultiViews -Indexes", the Mapquest API works, but of course my rewrite rules do not work anymore.
Here's my question:
Since this rule "Options +FollowSymLinks -MultiViews -Indexes" is in my main .htaccess file, is it possible to TURN OFF this rule for a specific folder ?
The Mapquest API is in a dedicated folder and all pages using it are in the same folder, so I figured turning off these rules for this specific folder would solve the problem...
Is is possible to turn certain rules off for a specific folder ?
Thanx for your help in advance !!!
Regards,
Mike