simple rewriterule question

Jun 14, 2008 at 11:02 AM
how do i get

RewriteRule ^1.png$ 1.php

to work on

C:\Inetpub\wwwroot\x.domain.com
 
directory



Coordinator
Jun 14, 2008 at 5:46 PM
Did you read the README?
Did you check the examples?
did you run the testdriver.exe?

what have you tried?
what are you getting?
what do you expect to be getting?
Jun 19, 2008 at 8:21 PM
Edited Jun 19, 2008 at 8:22 PM


yes i read the readme, i looked at the examples.....i have tried just putting
RewriteRule ^1.png$ 1.php in the .ini
this works correctly on apache and helicons 30 day trial rewrite...

i am expecting 1.php to be accessible with 1.png also..(1.php is a dynamic signature script)

i am getting nothing and page cannot be found when trying to visit 1.png

how do i get
RewriteRule ^1.png$ 1.php to work with ionic

Coordinator
Jun 20, 2008 at 1:10 AM

There is a leading slash in the URL.
Your pattern does not allow a leading slash?  The caret ( ^ ) indicates beginning-of-line.   Normally you would want to try to match

 ^/1.png$  

if you check the IIRF log you may be able to gain some insight into what is happening.