Solved

REWRITE RULE for IIS

Posted on 2009-04-07
7
573 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 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