Re: Replacing ? and & with / in URLS
| From: | Richard Lynch | Date: | Wed, 06 Dec 2000 04:47:22 +0000 |
| Subject: | Re: Replacing ? and & with / in URLS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28845@lists.php.net to get a copy of this message | ||
It involves the Rewrite rule/module to Apache (http://apache.org) and then
PHP uses $argc/$argv or $PATH_INFO to figure out the args.
I don't see why it wouldn't work with CGI, but never tried it.
Zeev (?) has a tutorial out there somewhere about it, but I dunno if that's
the one you're referencing or not... On Devshed or Weberdev or PHPBuilder
maybe?
----- Original Message -----
From: "Nold, Mark" <Mark.Nold@normandy.com.au>
Newsgroups: php.general
Sent: Tuesday, December 05, 2000 10:18 PM
Subject: [PHP] Replacing ? and & with / in URLS
> --------------------------------------------------------------------------
--
> -----------------
> Disclaimer: The information contained in this email is intended only for
the
> use of the person(s) to whom it is addressed and may be confidential or
> contain legally privileged information. If you are not the intended
> recipient you are hereby notified that any perusal, use, distribution,
> copying or disclosure is strictly prohibited. If you have received this
> email in error please immediately advise us by return email at
> postmaster@normandy.com.au and delete the email document without making a
> copy.
> --------------------------------------------------------------------------
--
> -----------------
> Hi,
>
> Ive seen several references to the fact that you can exchange ? and & in
> URLS (ie: GET) with /
>
>
> http://www.yourserver.com/db/script.php3?radius=3&user=6&people=TRUE
> will become this:
>
> http://www.yourserver.com/db/script.php3/radius/3/user/6/people/TRUE
>
> (These are from
>
> http://marc.theaimsgroup.com/?l=php-general&m=94961873902307&w=2
> )
>
>
> I'm having problems with this on Apache with PHP as a CGI, where i get an
> Internal Server error all the time. Any ideas?
>
> Any idea what this functionaly is called? Is it a PHP function? an Apache
> function?
>
> Thanks,
>
> mn
>
>
> Mark Nold
> markn@enspace.com
> Senior Consultant
>
> Change is inevitable, except from vending machines.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>