setting php for accepting the urls... phpinfo.php/extra/information/

setting php for accepting the urls... phpinfo.php/extra/information/

am 19.03.2005 10:39:08 von Rob

Hi,
could someone possibly point me in the right direction for allow PHP on
IIS 6 to accept urls with the query string seperated by slashes..

like..

http://mysite.com/phpinfo.php/extra/information/

I need to do this to allow the setup of search engine friendly pages :D

Thanks
Rob

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] setting php for accepting the urls... phpinfo.php/extra/information/

am 19.03.2005 17:15:59 von Leif Gregory

Hello Rob,

Saturday, March 19, 2005, 2:39:08 AM, you wrote:
R> could someone possibly point me in the right direction for allow
R> PHP on IIS 6 to accept urls with the query string seperated by
R> slashes..

This is called "slash arguments" and IIS can not natively handle it. I
ran into this issue setting up a Moodle
installation for a client. There is a 3rd party app you can install on
an IIS server which will allow you to do this. It is free for a single
website, but if you are virtual hosting, it costs money.

It's called ISAPI Rewrite

I finally ended up building them an Win2K, Apache2, MySQL, PHP5 box so
they could use Moodle to the fullest with slash arguments.


Cheers,
Leif Gregory

--
TB Lists Moderator (and fellow registered end-user)
PCWize Editor / ICQ 216395 / PGP Key ID 0x7CD4926F
Web Site

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] setting php for accepting the urls... phpinfo.php/extra/information/

am 20.03.2005 01:01:09 von Elizabeth Smith

Leif Gregory wrote:
> Hello Rob,
>
> Saturday, March 19, 2005, 2:39:08 AM, you wrote:
> R> could someone possibly point me in the right direction for allow
> R> PHP on IIS 6 to accept urls with the query string seperated by
> R> slashes..
>
> This is called "slash arguments" and IIS can not natively handle it. I
> ran into this issue setting up a Moodle
> installation for a client. There is a 3rd party app you can install on
> an IIS server which will allow you to do this. It is free for a single
> website, but if you are virtual hosting, it costs money.
>
> It's called ISAPI Rewrite
>
> I finally ended up building them an Win2K, Apache2, MySQL, PHP5 box so
> they could use Moodle to the fullest with slash arguments.
>
>
> Cheers,
> Leif Gregory
>

Um, no, you're wrong... it's called PATH_INFO and it IS possible on IIS,
at least I have it working fine with 5.1 on windows xp. The trick is to
install php with the isapi/cgi as an application mapping, and when you
do that make sure the "check that file exists" button is unchecked.

some additional information for cgi users

http://wordpress.org/support/topic.php?id=15197

according to the IIS 6 stuff, the scriptmap stuff works the same as the
application mapping used to

http://www.microsoft.com/resources/documentation/iis/6/all/p roddocs/en-us/ref_mb_scriptmaps.mspx

make sure the MD_SCRIPTMAPFLAG_CHECK_PATH_INFO is set to NOT be checked,
you want it to hit the index.php and ignore the path info :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php