echo 'mod_rewrite '.((strpos(shell_exec('/usr/local/apache/bin/apachectl -l'), 'mod_rewrite') !== false)?'':' does not ').' exist';