Solved

REWRITE RULE for IIS

Posted on 2009-04-07
7
568 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

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

Suggested Solutions

Title # Comments Views Activity
Apache / XAMPP  authorisation 10 46
Link SQL table to Webpage 9 52
Allow Local User to Log On FTP 8 48
PHP_POST() error message 9 45
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 …
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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