modules and RewriteRules
I am thinking the slow down is not directly related to the Apache Module, but maybe related to the way I have the RewriteRules setup. I have moved the RewriteRules from the directory level to the server level and for some reason my handler isn't getting called anymore. I am hooking the handler in the middle: ap_hook_handler(promenade_handler, NULL, NULL, APR_HOOK_MIDDLE); Here is my RewriteRules and handler all at the server level: RewriteEngine On RewriteRule ^/images/([^/]+)/([^/]+)$ /theImage?fldoid=$1imgoid=$2 [L] RewriteRule ^/images/([^/]+)/([^/]+)/([^/]+)$ /theImage?fldoid=$1imgoid=$2tn=$3 [L] Location /theImage SetHandler promenadeImages /Location Any thoughts on why I never see the handler promenadeImages get sent to my handler? Sam
Re: modules and RewriteRules
On Sat, Mar 29, 2008 at 12:22 PM, Sam Carleton [EMAIL PROTECTED] wrote: I am thinking the slow down is not directly related to the Apache Module, but maybe related to the way I have the RewriteRules setup. I have moved the RewriteRules from the directory level to the server level and for some reason my handler isn't getting called anymore. I am hooking the handler in the middle: ap_hook_handler(promenade_handler, NULL, NULL, APR_HOOK_MIDDLE); Here is my RewriteRules and handler all at the server level: RewriteEngine On RewriteRule ^/images/([^/]+)/([^/]+)$ /theImage?fldoid=$1imgoid=$2 [L] RewriteRule ^/images/([^/]+)/([^/]+)/([^/]+)$ /theImage?fldoid=$1imgoid=$2tn=$3 [L] Location /theImage SetHandler promenadeImages /Location Any thoughts on why I never see the handler promenadeImages get sent to my handler? Sam Would that require one of the [PT] flag or a Directory container? -- Eric Covener [EMAIL PROTECTED]
Re: modules and RewriteRules
On Sat, Mar 29, 2008 at 1:04 PM, Eric Covener [EMAIL PROTECTED] wrote: Would that require one of the [PT] flag or a Directory container? Eric, Thank you so much, that did it! Sam