Mod_rewrite problem

software development

#1

I was trying to do some mod_rewrite things in .htaccess that involved a RewriteRule with [P] – but DH didn’t seem to like that. (The same .htaccess works fine for a site hosted by a different provider.) Does anyone know if DH prohibits [P]? I asked support, and they said they weren’t aware of anything.

(In particular, I was doing:

RewriteEngine on
RewriteBase /foo/
RewriteRule ^(.*)$ http://bar.com/$1 [P]

…which is straight out of the mod_rewrite guide, and does work fine for me on other systems.)

Thanks,
Aaron.


#2

This requires that mod_proxy be installed/enabled which, as far as I know, is not.


If you want useful replies, ask smart questions.