Skip to main content

httpd Deflector Maps

Comments

4 comments

  • cPanelMichael
    Hello Frank, You may want to add the entries as a virtual host include for all virtual hosts instead of a "Pre Main Include". Here's a thread where this is discussed (it's for different entries but the same principal applies): Thank you.
    0
  • Frank Jance
    Thanks, Michael. I tried both Pre VirtualHost Include and Post VirtualHost Include, but neither of those worked for me either. Is it because I'm using LiteSpeed instead of Apache? Or do I need more code to get what I've written to be recognized? The code I posted should work, as I copied it almost verbatim from the Apache website. I usually add these things to .htaccess, however this particular solution won't work there and is required to go in httpd.conf.
    0
  • cPanelMichael
    Hello, I recommend using the steps documented for "Apply to all virtual hosts on the system" and "With and without SSL" at:
    0
  • Frank Jance
    For the life of me, I still can't figure this out. Does anyone have an example of how to set up a deflector map on httpd? There are plenty of examples on how to create the map, but absolutely nothing on how to set up RewriteMap in the conf file. Thanks.
    0

Please sign in to leave a comment.