httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Swift" <steve.j.sw...@gmail.com>
Subject Re: [users@httpd] How to disable errors and redirect allways to default.php
Date Mon, 21 Aug 2006 13:44:13 GMT
The Apache directive:

AliasMatch ^/[^/]*$ /path/to/default.php

Will cause any URI which is a "/" followed by a single "word" to be handled
by the file /path/to/default.php

On 21/08/06, Michelle Konzack <linux4michelle@freenet.de> wrote:
>
> Hi back...
>
> Am 2006-08-21 14:16:10, schrieb Steve Swift:
> > If you want to map /anything to your default.php then look at
> > ScriptAliasMatch or AliasMatch, depending how you setup access to
> > default.php (I have no experience of how php is set up)
>
> I have only an index.php which has the same behaviour as an index.html
>
> So if I copy the index.php to who%20is%20steve%20swift.php and
> call it with http://server/who%20is%20steve%20swift it works.
>
> But not virtuell
>
> 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
>
>


-- 
Steve Swift
http://www.swiftys.org.uk

Mime
View raw message