PDA

Bekijk Volledige Versie : Eigen error pagina's



Bob
11/08/02, 19:40
Weet iemand hoe ik een cobalt raq4 kan configureren zodat men eigen error pagina's kan maken dmv het bekende .htaccess filetje:

ErrorDocument 401 http://www.VsiteAddress.com/401.html
ErrorDocument 404 http://www.VsiteAddress.com/404.html
ErrorDocument 500 http://www.VsiteAddress.com/500.html

--
Momenteel krijg ik na uppen van dit .htaccess file'tjes (ascii)
Niet meer dan een internal Server Error.

Wie helpt??
Grtz, Bob

Deimos
11/08/02, 22:01
Waarschijnlijk heb je een Raq 4. Dan moet je als ik het mij goed herinner srm.conf aanpassen zodat .htaccess bestanden werken. Ik weet niet of ik de goede .conf heb genoemd. Maar anders dien je 1 van de andere te nemen zijn er geloof ik totaal 3 httpd./conf srm.conf en nog 1 ben naam even kwijt.

Mocht het niet helpen in de knoledgebase van Cobalt staat dit ook meen ik me te herinneren.

Deimos
11/08/02, 22:06
Het gaat om onderstaande regels.


#
# AccessFileName: The name of the file to look for in each directory
# for access control information.
#
AccessFileName .htaccess

#
# The following lines prevent .htaccess files from being viewed by
# Web clients. Since .htaccess files often contain authorization
# information, access is disallowed for security reasons. Comment
# these lines out if you want Web visitors to see the contents of
# .htaccess files. If you change the AccessFileName directive above,
# be sure to make the corresponding changes here.
#
# Also, folks tend to use names such as .htpasswd for password
# files, so this will protect those as well.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>

Bob
12/08/02, 01:32
okeej top!! goede file was access.conf
AllowOverride moet niet op none, nu werken de error pagina's wel oke!
Heel erg bedankt....

Grtz