Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am looking to develop a solution that eliminates potential spammers. The way this system will work is that it will watch connections and requests. Going into the specifics is more for stackoverflow, But, what I am interested in is if it is possible to tell Apache to pass the request over to my application first and give it the ability to accept/deny the request. Sure, it will make requests slower, but I think that is a trade off I am willing to take. I still want, however, Apache to run the request through any interpreters (such as PHP).

The idea is that one wouldn't have to implement anti-spam measures on a per app basis but have an "umbrella" of spam protection.

share|improve this question

1 Answer 1

This already exists. Look into mod_security for something with some form behind it or alternatively mod_perl if you want to homebrew the whole thing - mod_perl has access/visibility into nearly the entire apache request/response process.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.