Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 30998 invoked from network); 21 Aug 2006 13:44:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Aug 2006 13:44:47 -0000 Received: (qmail 45102 invoked by uid 500); 21 Aug 2006 13:44:37 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 44855 invoked by uid 500); 21 Aug 2006 13:44:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 44844 invoked by uid 99); 21 Aug 2006 13:44:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 06:44:36 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of steve.j.swift@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wr-out-0506.google.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 06:44:34 -0700 Received: by wr-out-0506.google.com with SMTP id i3so235607wra for ; Mon, 21 Aug 2006 06:44:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IdnFylmuLIyFZnzPWTRgD7wrvLjiN0V3fg3gdN17l4sii0JJPkZ/sf42hgcKcHAHLHPZcr0K3TZyhGJI6Z3tyI+BvufP9YAOBr4WDHj+f63Vb+NAOtljKw67vhHQihOqqVJeXt8fgmuj1gCm7GkZd9JS0bWVxH03sEbtuwIMIvs= Received: by 10.90.115.4 with SMTP id n4mr117821agc; Mon, 21 Aug 2006 06:44:14 -0700 (PDT) Received: by 10.90.96.14 with HTTP; Mon, 21 Aug 2006 06:44:13 -0700 (PDT) Message-ID: Date: Mon, 21 Aug 2006 14:44:13 +0100 From: "Steve Swift" To: users@httpd.apache.org In-Reply-To: <20060821133659.GL15195@freenet.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5755_32925285.1156167853961" References: <20060821123918.GF15195@freenet.de> <20060821133659.GL15195@freenet.de> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] How to disable errors and redirect allways to default.php X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5755_32925285.1156167853961 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 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 ------=_Part_5755_32925285.1156167853961 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_5755_32925285.1156167853961--