Hi!
wie kann ich in einer .htaccess -Datei ein Sitemapping definieren? Beispielsweise sollen alle aufrufen im Ordner "foo" auf "myRequestHandler.pl" gehen:
/foo/topic1/subtopic3/page.html -> myRequestHandler.pl
/foo/help.html -> myRequestHandler.pl
/foo/topic5/overview.html -> myRequestHandler.pl
Die RedirectMatch-Dirketive sollte dir weiterhelfen. Kleines Beispiel:
.htaccess in /foo
RedirectMatch (.+) http://example.tld/myRequestHandler.pl
Grüße,
Fabian St.
--
---------------------
fabi@erde ~# whatis spam
spam: nothing appropriate
---------------------
Selfcode: ie:{ fl:( br:> va:) ls:[ fo:) rl:( n4:( ss:) de:> js:| ch:? mo:) zu:)
---------------------
fabi@erde ~# whatis spam
spam: nothing appropriate
---------------------
Selfcode: ie:{ fl:( br:> va:) ls:[ fo:) rl:( n4:( ss:) de:> js:| ch:? mo:) zu:)