Solved

REWRITE RULE for IIS

Posted on 2009-04-07
7
571 Views
Last Modified: 2012-05-06
I need the syntax for the following issue - three domains, all in app subfolders - I want the www.domain.com request to leave the subfolder out when the user arives on the page - any way to do this in IIS >
0
Comment
Question by:gsdevEE
  • 4
  • 3
7 Comments
 

Author Comment

by:gsdevEE
ID: 24091684
I want www.domain.com request to appear as www.domain.com (EVEN though the application is in subfolder, i.i., www.domain.com/subfolder).  I only would like this to be on the initial request if possible
0
 
LVL 29

Expert Comment

by:Michael Worsham
ID: 24098017
What you are asking for is called URL cloaking or URL masking.

There are a couple of ways to do this...

1) Helicon Tech's ISAPI_Rewrite application: http://www.isapirewrite.com/

2) Using frames, but this requires the website be modified: http://forums.iis.net/t/1123190.aspx
0
 

Author Comment

by:gsdevEE
ID: 24098767
It is a dnn site, with other applications running in other folders, which is why we have it split up - I am a little unsure of how to attakc this, as I do not have full access to IIS, it is hosted...can this be done with dnn ?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 29

Expert Comment

by:Michael Worsham
ID: 24099104
After some quick research, it seems under DNN that only frames is the work around to URL masking/cloaking. Otherwise you risk breaking the session cookies for logins.
0
 

Author Comment

by:gsdevEE
ID: 24099562
So how can I do this if dnn is not at the root ? Create an html framme page to the dnn site home page and go from there ?  
0
 
LVL 29

Accepted Solution

by:
Michael Worsham earned 125 total points
ID: 24099739
I'm not an HTML programmer, but I did find this article for at least getting the basics down...

Beginners html guide for DotNetNuke
http://www.dnncreative.com/BeginnersguidetohtmlforDotNetNuke/tabid/138/Default.aspx

How to create HTML frames
http://www.webdevelopersnotes.com/tutorials/adhtml/html_frame_tutorial_frames_part_1.php3
0
 

Author Comment

by:gsdevEE
ID: 24099917
I am doing this, and it seems to be working fine

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
</head>
<frameset rows="100%,*">
<frame src="/home" name="main">
<frame src="">
</frameset>
</html>

I am concerned about security though
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question