Questions tagged [isapi-rewrite]

14 questions
7
votes
5 answers

IIS 7.5, Multiple Application Pools, and URL Rewriting (403.18 -- Forbidden)

Is there any way to configure IIS 7.5 to perform URL rewrites to different application pools on the same site without running into a 403.18 error? We're using Helicon ISAPI Rewrite 3 on IIS 6 and it's working like a charm. The root-level…
Jerry Hewett
  • 71
  • 1
  • 1
  • 2
3
votes
1 answer

IIS rewrite rule to check for querystring and add it if its not there

I'm trying to make a IIS URL rewrite rule that appends an URL parameter to the URL. The url parameter is hssc. So, any url that is processed through the server, needs that parameter. Keeping in mind that some urls will have their own params already,…
M.R.
  • 143
  • 1
  • 8
1
vote
1 answer

How to modify querystring using URL rewriting?

I am having very less knowledge in URL rewriting, So not sure weather this can be done or not using URL rewrite? I have a URL like www.test.com/categroy.cfm?categoryid=12&weight=any&brandid=23 For weight parameter: if its value is 'any' i want to…
user3427540
  • 169
  • 2
  • 9
1
vote
1 answer

Cross domain javascript form filling, reverse proxy

I need a javascript form filler that can bypass the 'same origin policy' most modern browsers implement. I made a script that opens the desired website/form in a new browser. With the handler, returned by the window.open method, I want to retrieve…
Michel van Engelen
1
vote
1 answer

ISAPI rewrite syntax

I have IIS 6.0 and am using a ISAPI rewrite to do a special URL redirect. Basically how this will function, anyone going to www.website1.com is redirected to www.website2.com which I have setup with the following lines: RewriteCond %{HTTP:Host}…
Londo Mollari
1
vote
0 answers

helicon ISAPI Rewrite - https/http/www

How do I need to change this rule for IIS to support all variations of domain. I want all traffic to go to https://domaindotcom/folder/ - we have sent a letter to ask recipients to go to domaindotcom/. Therefore need…
enga
  • 11
  • 1
0
votes
1 answer

Reverse proxy: regex to address LAN servers

I have several web servers in the LAN, addressable as http://serv1.lan/, http://serv2.lan/, etc. To be addressed from outside the LAN, requests need to be passed through an authentication reverse proxy, such that https://proxy.com/serv1/ be…
aag
  • 407
  • 1
  • 6
  • 17
0
votes
1 answer

What happens after a rewrite rule is processed in IIS?

I have a couple of rules set up for a site, made with the IIS rewrite module. What happens after each rule is processed, does it stop processing rules after the first one is performed, or does it go on to process the next (in which case how can I…
userSteve
  • 1,503
  • 4
  • 20
  • 32
0
votes
1 answer

What does the {HTTPS} variable actually represent?

I am writing a rule with the IIS Rewrite module to detect if a URL request is formed HTTP:// or HTTPS:// The documentation says "HTTPS can be used to determine if a secure connection was…
userSteve
  • 1,503
  • 4
  • 20
  • 32
0
votes
2 answers

How to rewrite rules for two subfolders using mod_rewrite

I would need to do something like this: ########## SITE 1 RewriteEngine on RewriteBase /mysite1 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1 [L,QSA] ########## SITE…
Steve
  • 203
  • 6
  • 13
0
votes
2 answers

Log Location Url Responses of 301 redirects from IIS

Is there a way to log 301 redirects returned by IIS with the (1) request Url and the (2) location Url of the response? Something like this: Url, Location /about-us, /about /old-page, /new-page The IIS logs contain the Request Url and the status…
James Lawruk
  • 617
  • 2
  • 9
  • 18
0
votes
2 answers

RewriteCond and the www record

In my httpd.ini I redirect all traffic from "example.co.uk" to "www.example.co.uk", the below works fine for this: RewriteCond %HTTPS off RewriteCond Host: (?!^www.example.co.uk)(.+) RewriteRule /(.*) http\://www.example.co.uk/$2 [I,RP] I have a…
MagicalArmchair
  • 265
  • 3
  • 10
0
votes
2 answers

Is ISAPI_Rewrite install

I buy Windows share Host (IIS6) and my panel is Plesk. I create a site in PHP(Drupal) in Apache and I want move it to Windows host. .htaccess file not worked :( I don't know is ISAPI_Rewrite install,How to understand this? Can I install it in my…
AmirHossein
  • 103
  • 2
0
votes
2 answers

Redirection in Windows Server

I do have a similar question posted on Server Fault. Still, I want to explore various ways by which one can effectively redirect traffic coming to a Windows Server. Is it possible that I have a index.php file but let the URL to it be index.htm? On…
Aman Alam
  • 149
  • 1
  • 7