You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Daniel Clarke - JASWW <dc...@jasww.com> on 2003/11/10 16:56:52 UTC
Re: [users@httpd] .htaccess
Hi Dayne
Create a file called .htaccess (not the leading dot) and put it in the directory that your customer 404 should apply to.
In the file, put:
ErrorDocument 404 /path/to/error404.html
Note that the path to the error file has a slash at the beginning
You could also use
ErrorDocument 404 /error404.html
Note also that this error404.html should NOT have any protection on it!
Make sure that your ISP or sys admin has allowed you to use custom .htaccess docs.
----- Original Message -----
From: Dayne
To: users@httpd.apache.org
Sent: Sunday, November 09, 2003 8:28 PM
Subject: [users@httpd] .htaccess
I'm trying to make custom 404 pages by making a .htaccess file. I reviewed the documentation on .htaccess files on apache.org but now I'm even more confused than before. Can someone try to explain it PLEASE!?!?
-Dayne
--------------------------------------------------------------------- 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
________________________________________________________________________
This email has been scanned for all viruses by MDaemon PRO v6.8.4 R
on Mon, 10 Nov 2003 15:56:52 -0000 and found to contain no infected
attachments. The virus list was updated on Mon 2003-11-10 15:30:33
________________________________________________________________________
Re: [users@httpd] .htaccess
Posted by Daniel Clarke - JASWW <dc...@jasww.com>.
Oops!
Yes, thanks Wouter, I did :-)
----- Original Message -----
From: Wouter van Vliet
To: users@httpd.apache.org
Sent: Monday, November 10, 2003 5:40 PM
Subject: RE: [users@httpd] .htaccess
Daniel probably meant: "note the leading dot" instead of "not" .. it's kinda to very important :P
----------------------------------------------------------------------------
From: Daniel Clarke - JASWW [mailto:dclarke@jasww.com]
Sent: maandag 10 november 2003 16:57
To: users@httpd.apache.org
Subject: Re: [users@httpd] .htaccess
Hi Dayne
Create a file called .htaccess (not the leading dot) and put it in the directory that your customer 404 should apply to.
In the file, put:
ErrorDocument 404 /path/to/error404.html
Note that the path to the error file has a slash at the beginning
You could also use
ErrorDocument 404 /error404.html
Note also that this error404.html should NOT have any protection on it!
Make sure that your ISP or sys admin has allowed you to use custom .htaccess docs.
----- Original Message -----
From: Dayne
To: users@httpd.apache.org
Sent: Sunday, November 09, 2003 8:28 PM
Subject: [users@httpd] .htaccess
I'm trying to make custom 404 pages by making a .htaccess file. I reviewed the documentation on .htaccess files on apache.org but now I'm even more confused than before. Can someone try to explain it PLEASE!?!?
-Dayne
--------------------------------------------------------------------- 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
________________________________________________________________________
This email has been scanned for all viruses by MDaemon PRO v6.8.4 R
on Mon, 10 Nov 2003 15:56:52 -0000 and found to contain no infected
attachments. The virus list was updated on Mon 2003-11-10 15:30:33
________________________________________________________________________
________________________________________________________________________
This email has been scanned for all viruses by MDaemon PRO v6.8.4 R
on Mon, 10 Nov 2003 17:47:30 -0000 and found to contain no infected
attachments. The virus list was updated on Mon 2003-11-10 17:30:41
________________________________________________________________________
RE: [users@httpd] .htaccess
Posted by Wouter van Vliet <wo...@springt.nl>.
Daniel probably meant: "note the leading dot" instead of "not" .. it's kinda
to very important :P
_____
From: Daniel Clarke - JASWW [mailto:dclarke@jasww.com]
Sent: maandag 10 november 2003 16:57
To: users@httpd.apache.org
Subject: Re: [users@httpd] .htaccess
Hi Dayne
Create a file called .htaccess (not the leading dot) and put it in the
directory that your customer 404 should apply to.
In the file, put:
ErrorDocument 404 /path/to/error404.html
Note that the path to the error file has a slash at the beginning
You could also use
ErrorDocument 404 /error404.html
Note also that this error404.html should NOT have any protection on it!
Make sure that your ISP or sys admin has allowed you to use custom .htaccess
docs.
----- Original Message -----
From: Dayne <ma...@aol.com>
To: users@httpd.apache.org
Sent: Sunday, November 09, 2003 8:28 PM
Subject: [users@httpd] .htaccess
I'm trying to make custom 404 pages by making a .htaccess file. I reviewed
the documentation on .htaccess files on apache.org but now I'm even more
confused than before. Can someone try to explain it PLEASE!?!?
-Dayne
--------------------------------------------------------------------- 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
________________________________________________________________________
This email has been scanned for all viruses by MDaemon PRO v6.8.4 R
on Mon, 10 Nov 2003 15:56:52 -0000 and found to contain no infected
attachments. The virus list was updated on Mon 2003-11-10 15:30:33
________________________________________________________________________