[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: <support@xxxxxxxxxxxxx>
- Date: Tue Oct 23 13:39:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
Here is the access.conf file (parts of it) we use to generate custom error
pages and turn off directory listings.
access.conf is in /etc/httpd/conf
<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 Indexes FollowSymLinks Includes MultiViews
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
# Frontpage subwebs use a nice mix of pam and Basic authentication
AuthPAM_FallThrough on
</Directory>
# be more restrictive within a site
<Directory /home/sites/*/>
Options -FollowSymLinks +SymLinksIfOwnerMatch -Indexes
</Directory>
=====================
Below are the settings for all virtual sites, they are listed at the bottom
of the access.conf file
<Directory /home/sites/home>
AllowOverride All
Options FollowSymLinks Includes MultiViews -Indexes
RedirectMatch (.*)\cmd.exe$ http://127.0.0.1
RedirectMatch (.*)\default.ida$ http://127.0.0.1
RedirectMatch (.*)\root.exe$ http://127.0.0.1
</Directory>
<Directory /home/sites/site1>
AllowOverride All
Options FollowSymLinks Includes MultiViews -Indexes
RedirectMatch (.*)\cmd.exe$ http://127.0.0.1
RedirectMatch (.*)\default.ida$ http://127.0.0.1
RedirectMatch (.*)\root.exe$ http://127.0.0.1
</Directory>
=========================
regards
Erik Venema
DutchNet
_____________________________________________________________________
Postbus 3 Verkoop/billing: sales@xxxxxxxxxxxxx
3734 ZG Den Dolder Storingsmeldingen: support@xxxxxxxxxxxxx
tel.: 030-2292693 Technische vragen: helpdesk@xxxxxxxxxxxxx
fax.: 030-2292694 DutchNet website: www.dutch-net.com
_____________________________________________________________________
Kijk op onze on-line shop www.dutch-net.com/shop voor al uw
computer-benodigdheden en actuele aanbiedingen.
-----------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Diana Brake
Sent: dinsdag 23 oktober 2001 21:52
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Custom 404 error page
At 02:43 PM 10/23/01, you wrote:
>>> > I still can't get a custom 404 error page to work on my RaQ4
>>
>>Many thanks to everyone who responded. I've tried all suggestions and
still
>>no diff. Either I'm doing something stupid, or there's something else we
>>don't know yet.
>>
>>Any further ideas will be gratefully and hungrily latched upon and tried.
>
>Well my input is...although I haven't noticed if this was presented or
>not...Windoze sets IE with a default error page that will just show it's
>own error page instead of the real one...you can turn this off if you want
>or you can just use Macintosh or Nix since the only thing Windoze is good
>for is surfing porn! ;-)
>
>-
> James Dean Young
> www.sundream.com
> jd@xxxxxxxxxxxx
>
>"Sometimes you get shown the light, in the strangest of places if you look
>at it right"
> - Robert Hunter
Hi,
My two cents...:) IE has recently undergone some sort of change in the way
it displays error pages...and I haven't figured out how to turn it off
yet...I've only managed to change the default search engine you get when
there is no page at all. But, I've also heard that you can still override
the page IE chooses to show by making sure your error page is over a
certain byte size...(seems that 8k was some magic number). I've tried
searching for this information and didn't turn up anything so maybe I'm
just dreaming, but if you are pretty sure your .htaccess file is
correct...try making sure you errordocs are over 8-10k each and see if that
helps.
see ya,
Diana
Crest Communications, Inc. diana@xxxxxxxxxxxxx
Beautiful Sunny Florida http://crestcommunications.com/
352-495-9359, 425-732-9785 fax
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users