View unanswered posts | View active topics It is currently Mon May 21, 2012 4:19 am



Reply to topic  [ 3 posts ] 
 stop .htaccess cascade or removehandler? 
Author Message
Junior Member

Joined: Sat Feb 21, 2009 11:48 am
Posts: 2
Post stop .htaccess cascade or removehandler?
HI, I have the files in most of my site go through a php wrapper so they all appear the same using a template, however, there is one subfolder that I don't want to have wrapped. How can I remove the handler... or actually restore the original handler.

I have tried removehandler but it does not seem to work.

/.htaccess

AddHandler headered .html
AddHandler headered .shtml

#HOSTMONSTER WORKED WITHOUT ?XXX
#GODADDY REQUIRED SOMETHING SEE htaccess problem with action directive
Action headered /template/somename.php?PHP_SELF=


/somedirectory/.htaccess

RemoveHandler .html
RemoveHandler .shtml

Yet it seems to be trying to run the action


Sat Feb 21, 2009 12:00 pm
Report this post
Profile
Junior Member

Joined: Sat Feb 21, 2009 11:48 am
Posts: 2
Post it seems
Well perhaps its something else. The formatting and programing on the php page was way off, but its not going through the wrapper.

What got me was that I was even trying pages that would not work figuring it would not be confused by calling a php page.

So its using the top level wrapper for the error pages.

I guess I just need a way to tell it not to wrap error pages.
because its not publishing the error page. Its giving a script error instead. Even when I put in blah.hh something that should not have been wrapped to begin with. only .html & .shtml was set to go through the handler.

Weird. I am thinking its because the server is publishing an .html error page, but the script looks for the file called i.e. blah.hh


Sat Feb 21, 2009 12:56 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.