Fórum Root.cz
Hlavní témata => Server => Téma založeno: JanciB 01. 01. 2012, 13:25:14
-
Ako sa da spravit toto?:
http://www.priklad.sk/abcd/nieco.html
document root je:
/web/priklad/html/
ak nenajde to nieco.html tak nech zoberie:
/main/pages/html/abcd/nieco.html
cize vsetko co nenajde v:
/web/priklad/html/
nech berie z:
/main/pages/html/
da sa to spravit v configu virtual hostu?
ci cez mod_rewrite ?
-
Zkuste hledat tímto směrem:
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html