Getting Error: You are not authorized to view this page

Topics: Developer Forum, User Forum
May 24, 2010 at 7:45 AM

I have created iirf.ini in my root site. Following are my rewritecond and rule for subdomain.

RewriteCond %{HTTP_HOST} ^([^\.]+)\.([^\.]+)\.domain\.com$
RewriteRule ^/(.*)$ /*2/*1/$1 [L]

RewriteCond %{HTTP_HOST} ^([^\.]+)\.domain\.com$
RewriteRule ^/(.*)$ /*1/$1 [L]

Web Server: IIS 6
My root site is running under 2.0 with application pool version 2.0.
I have created "Admin" web folder as web application with 1.1 on application DefaultAppPool.

When i browse site, it works fine.
But i m getting error on

You are not authorized to view this page
You do not have permission to view this directory or page using the credentials that you supplied.

Please try the following:

* Contact the Web site administrator if you believe you should be able to view this directory or page.
* Click the Refresh button to try again with different credentials.

HTTP Error 403 - Forbidden: Access is denied.
Internet Information Services (IIS)

Its working fine, if root site and admin application run in same .net version and appPool.
Please help me.

- Kartik

May 24, 2010 at 2:54 PM

You cannot rewrite a URL into another appPool.   For a discussion of why, see

and be sure to read the 2nd and 4th comment. 

I should make the IIRF documentation clearer on this.


May 24, 2010 at 3:07 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.