.htaccess to web.config

Status
Not open for further replies.

Blasteh

big tits
Apr 3, 2013
1,156
521
Hello,
While setting up on my home PC, I was using XAMPP for testing purposes as IIS wouldn't install correctly. So I was using htaccess, which worked fine. I finally decided to get a VPS, but now I'm using IIS.

My .htaccess included:
Code:
RewriteRule ^home/([a-zA-Z0-9_-]+)(|/)$ index.php?url=home&user=$1
RewriteRule ^habbo-imaging/badge/(.*).gif$ ./habbo-imaging/badge.php?badge=$1
Redirect 301 /news /index.php?url=news&id=1
My web.config file includes these lines:
Code:
            <rule name="rule 11i" stopProcessing="true">
                <match url="^home/([a-zA-Z0-9_-]+)(|/)$"  />
                <action type="Rewrite" url="/index.php?url=home&user={R:1}"  />
            </rule>
            <rule name="rule 12i" stopProcessing="true">
                <match url="^news$"  />
                <action type="Rewrite" url="/index.php?url=news&id=1"  />
            </rule>
For some reason, I cannot get it to work as it gives this error:
You must be registered for see images attach
 
Status
Not open for further replies.

Users who are viewing this thread

Top