title: Apache AllowOverride directive
body: <p>There's a server for which I don't have access to the control panel; I can only access a directory by FTP.
  I need to know if the Apache AllowOverride directive is enabled in that directory.
  I want to check that Apache has mod rewrite enabled and that the options allow Override All.
  How do I do it with a PHP script?
  Thanks</p>