You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Christian Schäfer <ca...@yahoo.com> on 2002/02/21 09:23:53 UTC

wieder .htaccess (redirect)

hi ich habe folgene ordnerstruktur:

ordner.htaccess                -> leitet 404er auf script.php
ordner/script.php              -> erzeugt index.html
(ordner/index.html)            -> ist anfangs nicht da (!)
ordner/unterordner/.htaccess   -> *1
ordner/unterordner/script.inc  -> wird von script.php included

*1 soll alle anfragen auf den unterordner auf 'ordner/index.html'
weiterleiten. ist diese datei noch nicht vorhanden soll
'ordner/.htaccess' in kraft treten und weiter zu
'ordner/script.php' leiten.

ordner/htaccess sieht so aus:

<snip>
ErrorDocument 404 /ordner/script.php
</snip>

wie muss nun ordner/unterordner/.htaccess aussehen?

dank+gruß
christian


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com