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.

<VirtualHost *:80>
    ServerName    portal.example.com
    DocumentRoot  /var/www/rediafile-php/public
    DirectoryIndex index.php

    <Directory /var/www/rediafile-php/public>
        AllowOverride All
        Require all granted
        Options -Indexes +FollowSymLinks
    </Directory>

    # Deny access to application files outside /public
    <Directory /var/www/rediafile-php>
        Require all denied
    </Directory>

    ErrorLog  ${APACHE_LOG_DIR}/rediafile-portal_error.log
    CustomLog ${APACHE_LOG_DIR}/rediafile-portal_access.log combined
</VirtualHost>