Rewrite folder URL on file IIRF.INI

Topics: Developer Forum, Project Management Forum
Nov 9, 2011 at 3:08 PM

My website on folder home of folder httpdoc on my server: httpdoc-->home->Default.aspx. I want rewrite http://domain/home/Default.aspx  --> http://domain/home/Hompage.html.

I write on file IIRF.INI:

RewriteRule ^/home/Homepage.html /home/Default.aspx but not working. You can help me?

Coordinator
Nov 9, 2011 at 9:25 PM

you need to verify that IIRF is working properly.  Check the /iirfstatus URL (http://servername/iirfstatus )

If that looks ok, and no errors or warnings are shown, then you need to set the IIRF logging level to 4, run a request, then examine the IIRF log file.

 

Nov 9, 2011 at 11:43 PM

I move my web to folder httpdoc, and write on file IIRF.INI

Rewrite ^/Homepage.html /Default.aspx. It is working. IIRF is working. But i move my web to folder home. It's not woking. You can help me?

Coordinator
Nov 10, 2011 at 2:41 PM

> But i move my web to folder home. It's not woking.

I don't know what your statement means.  You are being unclear.  I don't know what it means when you say "But i move my web to folder home."  This makes no sense to me.  I cannot see what you are doing, I know nothing about your environment.  You are not using words and phrases that are familiar to me, such as "virtual directory" and "IIS Manager" and "RewriteRule" and so on. I am looking for keywords and I see none.  So I really, truly, have no idea what you are talking about.

In the absence of any usable information, I'll repeat my advice from above: Check the/iirfstatus. If that looks ok, check the IIRF log.

If you can provide more information, clear information about what it is you are trying to do, then I can try to help you.  But you need to communicate it clearly.  Take your time. Seriously.  Spend some time thinking about the best way to explain things. Be specific about what you are doing.  Don't use partial word salad like "move my web to folder home."  Use a complete English-language sentence, several of them maybe! explaining what tool you are using and what thing you are specifically doing.  It will make things easier on me, and I may actually be able to help. It may help you more easily see the solution for yourself.

I have now spent more time asking you to provide good information, than you spent asking for help. 

Good luck.

Nov 10, 2011 at 4:13 PM

 

When I put my website and file IIRF.ini at folder "httpdocs/",  IIRF works properly. But when I move all file into folder "home" (httpdocs/home/), IIRF not working. Here's my rule:RewriteRule ^/home/Homepage.html /home/Default.aspxPlease help me. 

Coordinator
Nov 10, 2011 at 8:25 PM

IIRF.ini must be placed in the root directory of the virtual directory or the IIS application.

You cannot choose an arbitrary location for IIRF.ini.  It httpdocs/ is the physical directory for the vdir, that is where IIRF.ini must be placed.

So in summary, you said when I move all file into folder "home" (httpdocs/home/), IIRF not working.  My response: don't do that.