-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
28 lines (19 loc) · 864 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# project: cinetech (muvisho)
# file: .htaccess
# author: Abraham Ukachi <[email protected]>
# ====================================================
# 4 AltoRouter - MuviSho
# ----------------------------------------------------
# Rewriting all requests to index.php in
# root's public folder (i.e. /root/public/index.php)
# ====================================================
# Enable the rewrite engine (mod_rewrite for Apache)
RewriteEngine On
# Set the base path of MuviSho
# This is the path where MuviSho is installed relative to the domain name
# For production, use your domain name's root folder (e.g. /)
RewriteBase /cinetech/
# only rewrite if the requested file doesn't exist
RewriteCond %{REQUEST_FILENAME} !-f
# Rewrite all requests to the public/index.php file in the root folder
RewriteRule ^(.*)$ root/public/index.php [L]