Solved

REWRITE RULE for IIS

Posted on 2009-04-07
7
570 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

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 …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
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…

813 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

11 Experts available now in Live!

Get 1:1 Help Now