[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Custom 404 error page
- Subject: Re: [cobalt-users] Custom 404 error page
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Tue Oct 23 06:57:50 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
le 23.10.2001 15:31, Edward Bishop à eddie@xxxxxxxxxxxxxxxx a écrit :
> I'm really sorry to bring this one up again because I know it's been done to
> death. But I have read dozens of entries in the archive and tried everything
> they say. I've also read all the web articles they point to. And I still
> can't get a custom 404 error page to work on my RaQ4. If I try to browse to
> a nonexistent page, I just get the normal IE "The page cannot be found"
> screen.
>
> To summarize what I have tried:
>
> CHMOD on .htaccess to 664 and 777
> Editing access.conf to allow override of FileInfo (alto tried "all")
> Restarting httpd after every edit of access.conf
> Tabs instead of spaces in .htaccess
> Just a message beginning with " instead of a page referral in .htaccess
>
> I've got a hunch someone on the list has also been through all this and got
> there in the end?
>
> Many thanks
>
> Eddie Bishop
Valid htacces syntax :
ErrorDocument 401 /postinfo.html
ErrorDocument 403 http://www.mydomain.com/index.php4
ErrorDocument 404 http://www.mydomain.com/index.php4
ErrorDocument 501 http://www.mydomain.com/index.php4
And the corresponding access.conf syntax:
<Directory /home/sites/>
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
Options FollowSymLinks Includes MultiViews
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
AllowOverride All
# ignore .ht*
<Files ".ht*">
deny from all
</Files>
# Controls who can get stuff from this server.
order allow,deny
allow from all
AuthFailDelay 2000000
</Directory>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
=======================================================================
Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch
Linux/Unix is very user friendly,
it's just very picky about who its friends are !!!
=======================================================================