apparition
Technical User
Background:
My ultimate goal is to have IIS serve ASPs and Apache serve everything else on a NT4 box. IIS listens on port 81 and Apache is on port 80 of the same IP.
I'm trying to use mod_rewrite in Apache to change to url to port 81 if it has ".asp" in it. I don't think I'm understanding how RewriteCond and RewriteRule are supposed to work. Also, I know almost nothing about regular expressions so as you can imagine I'm getting pretty frustrated.
RewriteEngine on
RewriteCond ^%{REQUEST_FILENAME}$ ^asp$
RewriteRule <I have no clue about this one>
Could someone explain this a little or give me a good example for my situation? The language on the Apache site is not very easy to understand and I'm getting nowhere.
Thanks in advance for any help...
~apn
My ultimate goal is to have IIS serve ASPs and Apache serve everything else on a NT4 box. IIS listens on port 81 and Apache is on port 80 of the same IP.
I'm trying to use mod_rewrite in Apache to change to url to port 81 if it has ".asp" in it. I don't think I'm understanding how RewriteCond and RewriteRule are supposed to work. Also, I know almost nothing about regular expressions so as you can imagine I'm getting pretty frustrated.
RewriteEngine on
RewriteCond ^%{REQUEST_FILENAME}$ ^asp$
RewriteRule <I have no clue about this one>
Could someone explain this a little or give me a good example for my situation? The language on the Apache site is not very easy to understand and I'm getting nowhere.
Thanks in advance for any help...
~apn