Karol Karol - 1 month ago 6
PHP Question

How to add text after link on windows server 2008 that this link will work

Please tell me how to add some text after my address e.g.


www.domain.ff + some-text-to-add = www.domain.ff/some-text-to-add


and link return page without error.

My tools:

Windows server 2008, IIS7, PHP.

Where can i set it or where looking for some info?

Answer

OK, now i understand everything about this.

This is redirecting things for IIS7 and i was configured web.config rules in my project directory in this way.

<rules>
    <rule name="some_name">
       <match url="^([_0-9a-z-]+)/([0-9]+)/$" />
       <action type="Rewrite" url="index.php/{R:1}?idspec={R:2}" />
    </rule>
</rules>

and i can add anything after my link.

Comments