apache - Htaccess: Trigger php or write to log -


i want redirect fast possible. decided use htaccess redirect , because responses before php interpreter initialized. want log redirects , write database.

i tried redirect , call rewritemap trigger php file but, throws 500 error.

i ok, if can create log file, if log processing delayed. important only: fast redirect, track / log redirect.

have got ideas or recommendations on this?

thank in upfront

all best,

emre

you use rewritelog log rewriting actions file -- done apache, without invoking php.

=> quite fast ; logs file, not database ; still, said, log processing can delayed, , done script run crontab.


see rewriteloglevel, configure how verbose log should be.


Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -