Re: Search engines & database driven sites
| From: | Karsten Dambekalns | Date: | Tue, 27 Feb 2001 22:11:43 +0000 |
| Subject: | Re: Search engines & database driven sites | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6995@lists.php.net to get a copy of this message | ||
On Tue, Feb 27, 2001 at 09:03:58PM +0100, Roel Mulder wrote:
> Build the link above like this:
> http://www.site.com/dir/25.html this
> document doesn't exist.
> In that directory you refer the 404's to article.php where you call
> getenv("REQUEST_URI") and look, it says 25.html which you can then use to
> query the database and show that article :)
Bettzer do that using mod_rewrite (at least on Apache). mod_rewrite is a
mighty powerful thing...
BTW: Please think about full quotings :-/
Karsten
--
Why do we have to hide from the police, daddy?
Because we use emacs, son. They use vi.
-----------------------------
mailto:k.dambekalns@tu-bs.de w³: http://www.k-fish.de/
gpg: http://www.k-fish.de/mykeys.gpg