Link to home
Start Free TrialLog in
Avatar of drew22
drew22

asked on

apache .htaccess AddType application/x-httpd-parse .html exception

The following handler in my .htaccess file serves to route all .html requests to /php/story_builder/story.php, and it works great.

I need to make an exception for one file, googlehostedservice.html ,which i don't want handled php/story_builder/story.php
AddType application/x-httpd-parse .html 
Action application/x-httpd-parse "/php/story_builder/story.php?f="

Open in new window

Avatar of ahoffmann
ahoffmann
Flag of Germany image


AddType application/x-httpd-parse .html
Action application/x-httpd-parse "/php/story_builder/story.php?f="
Avatar of drew22
drew22

ASKER

didn't work. googlehostedservice.html gets processed by /php/story_builder/story.php
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of drew22

ASKER

I'll assume that works. I added code in my php/story_builder/story.php to check for /googlehostedservice.html and not process it.