Microsoft
Software
Hardware
Network
Question : isapi rewrite - helicon
I have my httpd.ini with following rules:
[ISAPI_Rewrite]
RewriteCond Host: (?:www\.)mysite.com
RewriteRule (.*) $1 [I,O,L]
RewriteCond Host: (.*)\.mysite.com
RewriteRule (.*) $2\?account=$1 [I,O,L]
------------
when user enter subdomain1.mysite.com/page
.aspx, I expect
to have
mysite.com/page.aspx?accou
nt=subdoma
in1
it is working fine and I'm happy!
the problem is happening when user browser navigates to
follwoing url:
subdomain1.mysite.com/page
.aspx?some
data=somei
nfo
and the filter is rewriting to:
mysite.com/page.aspx?somed
ata=somein
fo?account
=subdomain
1
when the correct should be
mysite.com/page.aspx?somed
ata=somein
fo&account
=subdomain
1
is there any solution for this problem??
Answer : isapi rewrite - helicon
Open .ini file
add the following line
RewriteRule ^/([^/]+)/([^/]+)$ /sendmail.aspx?somedata=$1
&account=$
2 [I] [L]
Random Solutions
Need to lock down SMTP traffic - Urgent!
How do I uninstall Symantec Backup Exec 11d in Windows Server 2003??
Journaling for Exchange 2003
The multi-part identifier could not be bound and Ambiguous column name in SQL Server 2008
trying to write an if/else statement can someone clean this up..doesnt work...
find and replace characters within a feild or cell
Set up a Site-To-Site VPN between 2 CISCO ASA 5505
Acrobat date field defaults to Today only if blank
How to sort sites in history as last used in IE 8?
Find siblings and parent nodes in DOM