htaccess file restrictions?

  • Anybody know if these work on the netcup apache webserver?


    we need 2 things to make it work:


    (1) Apache must allow all methods (GET, POST, DELETE, PATCH, OPTION).

    (2) Apache must allow to have a htaccess file with the following contents:

    RewriteEngine On

    RewriteCond "%{REQUEST_URI}" "/api/.*"

    RewriteRule "^.*/$" "/api/index.php" [L]

    Anybody know if this is possible?
    Thanks,

    Steve