Switch language

VPS / Apache Deployment

Deploy the portal on your own VPS with Apache and PHP.

Download package

Apache 2.4 + PHP 8.2 — Production VPS

A complete deployment configuration for running the Rediafile Developer Portal on a standard Linux VPS with Apache and mod_rewrite.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/assets/ [NC]
    RewriteRule ^ - [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^ index.php [QSA,L]
</IfModule>

<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    Header set Access-Control-Allow-Methods "GET, POST, OPTIONS"
    Header set Access-Control-Allow-Headers "Content-Type, Authorization"
</IfModule>

<IfModule mod_php8.c>
    php_value upload_max_filesize       10240M
    php_value post_max_size             10240M
    php_value max_execution_time        3600
    php_value max_input_time            3600
    php_value memory_limit              512M
</IfModule>