Solved

REWRITE RULE for IIS

Posted on 2009-04-07
7
567 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 W
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 29

Expert Comment

by:Michael W
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 W 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now