This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Rewrite Redirect 404s
Author
Message |
ipwtech
Newbie


Joined: 10 February 2010
Posts: 2
Posted: 10 February 2010 at 9:39pm

Hi,

So I need some advice with these rewrite rules. We are using the following rewrites so that when you go to domain.com/index.aspx it pulls from the wwwroot folder.

### redirect ###
RewriteCond Host: (?:.+\.)?domain\.com
RewriteRule (.*) /wwwroot$1 [I,L]

The Rule works like we want, but there is a problem. When I use redirects like Response.Redirect("contact.aspx") the URL goes to domain.com/wwwroot/contact.aspx which will not work. Any suggestions about what we can do to fix that aside from modifying the redirect?
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 11 February 2010 at 3:49am

Hello,
Where is your contact.asp than?
Back to Top
 
ipwtech
Newbie


Joined: 10 February 2010
Posts: 2
Posted: 11 February 2010 at 4:05am

all content is stored in /wwwroot/ relative to our webdirectory.
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 11 February 2010 at 4:14am

Please, provide the rewrite.log file.
Logging issues are here
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum