Re: Default Apache 404 for all sites

2003-07-14 Thread Jason Lim
- Original Message - From: Gene Grimm [EMAIL PROTECTED] To: Leonardo Boselli [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: 14 July, 2003 10:36 AM Subject: Re: Default Apache 404 for all sites Leonardo Boselli wrote: I was told to set a script in php or perl that looks

Re: Default Apache 404 for all sites

2003-07-14 Thread Jason Lim
- Original Message - From: Gene Grimm [EMAIL PROTECTED] To: Leonardo Boselli [EMAIL PROTECTED] Cc: debian-isp@lists.debian.org Sent: 14 July, 2003 10:36 AM Subject: Re: Default Apache 404 for all sites Leonardo Boselli wrote: I was told to set a script in php or perl that looks

Default Apache 404 for all sites

2003-07-13 Thread Jason Lim
Hi All, While not specifically Debian, I'm sure you guys figured this one out ages ago. In Apache, I know you can set ErrorDocument 404 /404.html or similar in a per-site context, but do you know if a standard one can be used to replace the Apache one? That way, one wouldn't need to dump a

Re: Default Apache 404 for all sites

2003-07-13 Thread Leonardo Boselli
I was told to set a script in php or perl that looks if in the directory where the called poage were an 404.php or 404.html file, if so include that, otherwise go up a level and try again, if one reach the home of the domain and does not find any 404 then use the default one ... if you coded

Re: Default Apache 404 for all sites

2003-07-13 Thread Gene Grimm
Leonardo Boselli wrote: I was told to set a script in php or perl that looks if in the directory where the called poage were an 404.php or 404.html file, if so include that, otherwise go up a level and try again, if one reach the home of the domain and does not find any 404 then use the

Re: Default Apache 404 for all sites

2003-07-13 Thread Shri Shrikumar
On Sun, 2003-07-13 at 19:53, Jason Lim wrote: In Apache, I know you can set ErrorDocument 404 /404.html or similar in a per-site context, but do you know if a standard one can be used to replace the Apache one? I havent actually done this so its a guess - why dont you try sticking it outside

Re: Default Apache 404 for all sites

2003-07-13 Thread Leonardo Boselli
I was told to set a script in php or perl that looks if in the directory where the called poage were an 404.php or 404.html file, if so include that, otherwise go up a level and try again, if one reach the home of the domain and does not find any 404 then use the default one ... if you coded

Re: Default Apache 404 for all sites

2003-07-13 Thread Gene Grimm
Leonardo Boselli wrote: I was told to set a script in php or perl that looks if in the directory where the called poage were an 404.php or 404.html file, if so include that, otherwise go up a level and try again, if one reach the home of the domain and does not find any 404 then use the