nsdevaraj/mediacore-community/master/deployment-scripts/mod_fastcgi/.htaccess
# .htaccess file for installation of MediaCore with Apache/FastCGI
# See installation instructions at http://getmediacore.com/docs/install/apache-fastcgi.html
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
</IfModule>
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
Options +ExecCGI +FollowSymlinks
RewriteEngine On
# Create rewrite rules for media and podcast images and custom layout
RewriteRule ^images/(media|podcasts)(.*) data/images/$1$2 [L]
RewriteRule ^appearance/(.*) data/appearance/$1 [L]
# Create rewrite rules for serving MediaCore's static content
RewriteRule ^(admin/)?(styles|images|scripts)/(.*)$ public/$1$2/$3 [L]
# Create rewrite rules for pointing mediacore requests to fastcgi script
RewriteRule ^mediacore.fcgi(/.*)$ - [L]
# If the file requested doesn't exist on the filesystem, redirect to mediacore.fcgi
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ mediacore.fcgi/$1 [L]
On Github License
Files