Karol Karol - 1 year ago 78
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 Source

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.

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

and i can add anything after my link.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download