default | grid-3 | grid-2

Post per Page

How to get ProxyPass to ignore a URL so you can still use Apache HTACCESS

On a few of my servers I use Apache with Apache Tomcat. and ProxyPass to forward requests from apache over to Tomcat for my Coldfusion pages.

The part I have been struggling with for so long was how to do password protected directories in apache.  Either by adding the config to the VirtualHost directive or by .htaccess.

It seemed no matter what I did, requests were getting proxied and there was nothing I could do about it.

Tonight I finally found my answer:

The ProxyPass !  combo:

ProxyPass /dealers/ !

Here is the whole apache configuration I use for connecting Apache to Tomcat and URL Rewriting:






I found this mentioned on a Sitepoint Post

1 comment

  1. This mighta' worked too ...

    SetEnvIf Request_URI "/dealers/*" no-jk

    ReplyDelete

Error Page Image

Error Page Image

Oooops.... Could not find it!!!

The page you were looking for, could not be found. You may have typed the address incorrectly or you may have used an outdated link.

Go to Homepage