bolom009/videorecord/master/.htaccess - Htaccess File

bolom009/videorecord/master/.htaccess

# Mod_Autoindex
<IfModule mod_autoindex.c>
    # Disable Indexes
    Options -Indexes
    IndexIgnore */*
</IfModule>

# Mod_Rewrite
<IfModule mod_rewrite.c>
    Options +FollowSymlinks
    # Enable mod_rewrite
    RewriteEngine On
    RewriteRule ^version.txt$ version.txt [L,PT]
    # Send all /api requests to api/web folder
    RewriteRule ^uploads(/.*)$ common/uploads/$1 [L]
    # Send all /backend requests to backend/web folder
    RewriteRule ^backend(/.*)$ backend/web/$1 [L,PT]
    # Send all /swagger requests to api/web/swagger folder
    RewriteRule ^swagger(/.*)$ api/web/swagger/$1 [L,PT]
    # Send all /api requests to api/web folder
    RewriteRule ^api(/.*)$ api/web/$1 [L,PT]
    # Send all / (root) requests to frontend/web folder
    RewriteRule ^(.*)$ frontend/web/$1
</IfModule>

php_value upload_max_filesize 100M
php_value post_max_size 100M

On Github License

Files

Download PDF of Htaccess file

Comments

Apache