|
Author |
Message |
b:z
Junior WebHelper
Joined: 25 May 2005
Posts: 2
|
Posted:
Wed May 25, 2005 2:41 am (19 years, 7 months ago) |
|
Here is my .htaccess fille which put in "/var/www/html/" folder in my server.
Everything work fine, apache can display all error page as i want, except 401 error. 401 error can display "401.htm" page when user have met this error.
And this is the error when i put all ErrorDocument above in my httpd.conf:
Quote: | ....cannot use a full URL in a 401 ErrorDocument directive |
Please show me the way to my apache can display "401.htm" error page instead of default 401 error page.
Thank you very much. |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed May 25, 2005 4:02 pm (19 years, 7 months ago) |
|
Try this:
Code: | ErrorDocument 401 /error/401.htm |
|
________________________________
|
|
|
|
b:z
Junior WebHelper
Joined: 25 May 2005
Posts: 2
|
Posted:
Thu May 26, 2005 2:23 am (19 years, 7 months ago) |
|
Oh. thanks for your reply. However, it can't work as i want. I have tried as your guide but nothing is better.
Quote: | ErrorDocument 400 /error/400.htm
ErrorDocument 401 /error/401.htm
ErrorDocument 403 /error/403.htm
|
And i can access to /error through my web serve : "http://www.abc.com/error/401.htm".
Please help me. |
|
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.15593 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |