httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Konzack <linux4miche...@freenet.de>
Subject Re: [users@httpd] How to disable errors and redirect allways to default.php
Date Mon, 21 Aug 2006 12:39:18 GMT
Hello Steve,

Am 2006-08-21 11:32:38, schrieb Steve Swift:
> The environment variable "REQUEST_URI" will contain "/", "/page1", "/page2",

Right, but...

> "/page3", "/<randomword>" so you could use this variable (perhaps without
> the leading "/") in your default.php to select the contents of the page.

...if the server receive the request /who%20is%20Steve%20Swift

then it is to late for default.php, because the Server
can not find the URL /who%20is%20Steve%20Swift.

For some time I had seen, that I must configure apache
to point always to default.php egal which URL.

I have tried this, but the URL change all the time to /
of default.php

Do you have an example?

Thanks & Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message