Htaccess File

phpMyFAQ/api.phpmyfaq.de/master/.htaccess

Options +FollowSymlinks -MultiViews -Indexes

# ----------------------------------------------------------------------
# | Cross-origin requests for api.phpmyfaq.de                          |
# ----------------------------------------------------------------------
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>

# ----------------------------------------------------------------------
# | Rewrite rules for api.phpmyfaq.de                                  |
# ----------------------------------------------------------------------
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteRule versions            /version.php [L,QSA]
    RewriteRule version/stable      /version.php?branch=stable
    RewriteRule version/development /version.php?branch=development
    RewriteRule verify/(.+)$        /verify.php?version=$1 [L,QSA]
</IfModule>
Exit mobile version