I have been using this webconfig redirection code to redirect my index.php to main url for preventing duplicate indexes. Now i am not able to login admin area anymore.
Can you modify it that so it won't redirect /admin/index.php
Complex problems the Forum the PHP Application and Security.
BTW: Sql Server ?
Thanks,
Martin
Rewrite Mapsandboxessitemapsweb.configURL RewriteV2WordPress Permalinksiis seo toolkitrewrite problemNot Foundtoo many redirectsrobots.txtMatchingsecurity
Windows and Linux work Together IT-Pros
Community Member Award 2011
Ask Leo if that works or he has other suggestions.
HTH
Martin
Are you seriously a bot ?. Your answers seems to me a perfectly botty. Seriously. Your answers are nonsense. Can any authority investigate account of HCamper. It is very obvious that the rewriting code was incorrect yet the answers you have given is totally
non related.
HCamper i am really not able to make any sense from your answers. Do you know english ? I felt like you don't know. As i said
codeNickel answer solved the problem.
CeOfFuture
53 Posts
How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 21, 2012 01:53 PM|LINK
I have been using this webconfig redirection code to redirect my index.php to main url for preventing duplicate indexes. Now i am not able to login admin area anymore.
Can you modify it that so it won't redirect /admin/index.php
Thank you
<rule name="CanonicalHostNameRule" stopProcessing="true">
<match url="^(\w*/)?index\.php" />
<conditions>
<add input="{HTTP_HOST}" pattern="forum\.monstermmorpg\.com$" />
</conditions>
<action type="Redirect" url="http://forum.monstermmorpg.com/{R:1}" />
</rule>
IIS 7.5 , webconfig
Url routing : MonsterDex
HCamper
8048 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 21, 2012 05:52 PM|LINK
Hello,
http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/
Post the logs in the Forum.
Complex problems the Forum the PHP Application and Security.
BTW: Sql Server ?
Thanks,
Martin
Rewrite Map sandboxes sitemaps web.config URL RewriteV2 WordPress Permalinks iis seo toolkit rewrite problem Not Found too many redirects robots.txt Matching security
Community Member Award 2011
codeNickel
1 Post
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 21, 2012 07:08 PM|LINK
how about adding an additional condition that negates when it matches your admin/login page?
something like this:
<add input="{URL}" pattern="/admin/index\.php" ignoreCase="true" negate="true" />
CeOfFuture
53 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 21, 2012 07:21 PM|LINK
Thanks .
If a person know the question answering very clearly like you :)
Url routing : MonsterDex
HCamper
8048 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 21, 2012 11:06 PM|LINK
Hello,
The logon page is PHP is admin index.php Enable Security isolation:
http://learn.iis.net/page.aspx/785/enable-php-applications-to-make-application-level-access-control-decisions/
Failed http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/
Ask Leo if that works or he has other suggestions
the errors from PHP for IIS Server.
Post the IIS Server log Status Codes to be checked
HTH
Martin
Rules IIS7 web.config syntax php urlwrite simple url IIS 7 rewrite problems
Community Member Award 2011
CeOfFuture
53 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 21, 2012 11:58 PM|LINK
Are you seriously a bot ?. Your answers seems to me a perfectly botty. Seriously. Your answers are nonsense. Can any authority investigate account of HCamper. It is very obvious that the rewriting code was incorrect yet the answers you have given is totally non related.
Also the answer of codeNickel perfectly working.
Url routing : MonsterDex
HCamper
8048 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 22, 2012 12:21 AM|LINK
Hi,
Leo Tang is an expert for many things.
You asked for more help with the questions.
http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/
Have you Enabled Failed Request Tracing you can post
the Status Codes for IIS logs to be checked in the Forums
Martin Community Member "Best Efforts" for your questions.
to help with your questions and the answers.
Leo tang can help if you have more questions.
Martin
frt Url Rewriting web.config rule phpbb wonderful!Team
Community Member Award 2011
CeOfFuture
53 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 22, 2012 01:20 AM|LINK
Url routing : MonsterDex
HCamper
8048 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 22, 2012 03:26 AM|LINK
I was trying to make sense of PHP IIS Server Security.
What SQL Server Engine MySQL Server or SQL Server 2008.
What is the logon user name and password ?
Your Have problems because admin area is now blocked mybb.
I also know status codes and IIS Server PHP and Security.
Please check the updated information and suggestions.
I suggested Leo tang can help if you have more questions.
Thanks,
Martin
IIS7 php MySQL phpbb Windows 2008 R2 security Rewrite-Rules
Community Member Award 2011
HCamper
8048 Posts
Re: How to modify this webcofing IIS redirection code because admin area is now blocked mybb
Feb 22, 2012 05:10 AM|LINK
Hi,
Sorry for late replies,
IIS 7 Forums http://forums.iis.net/t/1185772.aspx IIS Server information
for web.config.
Let me know or Leo Tang.
Thanks,
Martin
web.config phpbb Windows 2008 R2 url writing security Server
Community Member Award 2011