On Tue, May 14, 2002 at 01:17:35PM +0700, Asfihani wrote: > Rencananya mau coba-coba mod_rewrite, misalnya saya mau > redirect file test.html di semua vhost ke warning.html > di local kok belum bisa ya? > > di server config sudah tak kasih seperti ini, ada clue? > > RewriteEngine on > RewriteLog /usr/local/httpd/logs/server.rewrite.txt > RewriteLogLevel 1 > RewriteRule ^test.html$ http://127.0.0.1/warning.html [R]
sekarang tak rubah RewriteRule ^test.html$ http://202.145.6.53/warning.html [R] di log kelihatan seperti ini: 202.58.67.54 - - [14/May/2002:13:41:13 +0700] [anu.com/sid#86c0964][rid#82b3fc4/initial] (1) pass through /test.html 202.58.67.54 - - [14/May/2002:13:41:14 +0700] [anu.com/sid#86c0964][rid#82b3fc4/initial] (2) init rewrite engine with requested uri /test.html 202.58.67.54 - - [14/May/2002:13:41:14 +0700] [anu.com/sid#86c0964][rid#82b3fc4/initial] (3) applying pattern '^test.html$' to uri '/test.html' 202.58.67.54 - - [14/May/2002:13:41:14 +0700] [anu.com/sid#86c0964][rid#82b3fc4/initial] (1) pass through /test.html -- Asfihani - http://www.cakraweb.com/~asfik "If you only have a hammer, everything looks like a nail" -- Right or wrong my list. Unsubscribe option is currently unavailable. Indeed, it's available upon request .. but: cepek dulu donk!
