Re: [EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread Michelle Konzack
Am 2006-08-21 09:43:08, schrieb Joshua Slive: > Those will only work if php is running as a CGI. > > The easy (but perhaps hackish) way to solve this is > ErrorDocument /default.php OK > But make sure to have your php script reset the Status header so that > clients don't receive a 404. (I ass

Re: [EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread Steve Swift
The Apache directive:AliasMatch ^/[^/]*$ /path/to/default.phpWill 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 <[EMAIL PROTECTED]> wrote: Hi back...Am 2006-08-21 14:16:10, schrieb Steve Swift:> If you want to m

Re: [EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread Joshua Slive
On 8/21/06, Steve Swift <[EMAIL PROTECTED]> wrote: 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) Those will only work if php is running as a CGI. The easy (

Re: [EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread Michelle Konzack
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 behavio

Re: [EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread 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) On 21/08/06, Michelle Konzack <[EMAIL PROTECTED]> wrote: Hello Steve,Am 2006-08-21 11:32:38, schrieb Steve Swift:>

Re: [EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread Michelle Konzack
Hello Steve, Am 2006-08-21 11:32:38, schrieb Steve Swift: > The environment variable "REQUEST_URI" will contain "/", "/page1", "/page2", Right, but... > "/page3", "/" so you could use this variable (perhaps without > the leading "/") in your default.php to select the contents of the page. ...if

Re: [EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread Steve Swift
The environment variable "REQUEST_URI" will contain "/", "/page1", "/page2", "/page3", "/" so you could use this variable (perhaps without the leading "/") in your default.php to select the contents of the page.On 18/08/06, Michelle Konzack <[EMAIL PROTECTED] > wrote:Hello,I want  http://domain.tl

[EMAIL PROTECTED] How to disable errors and redirect allways to default.php

2006-08-21 Thread Michelle Konzack
Hello, I want http://domain.tld/ http://domain.tld/page1 http://domain.tld/page2 http://domain.tld/page3 http://domain.tld/... http://domain.tld/ but this pages and several 100.000' are handled by only ONE php script. Exactly, if a user call the website e