Portál AbcLinuxu, 17. července 2025 17:43
mod_rewrite
slouží k mapování URL z HTTP requestu na filesystem na serveru. Vy potřebujete něco, co by naopak filtrovalo tělo HTTP response před odesláním. Zkuste pohledat, ale nevím, nevím…
Using sed to replace text in the response # mod_ext_filter directive to define a filter which # replaces text in the response # ExtFilterDefine fixtext mode=output intype=text/html \ cmd="/bin/sed s/verdana/arial/g" <Location /> # core directive to cause the fixtext filter to # be run on output SetOutputFilter fixtext </Location>
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.