File size: 428 Bytes
28286c5
67777dd
c098712
 
 
67777dd
 
c098712
67777dd
c098712
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# Command $a2enmod rewrite must be enabled if not working on Debian. This was tested on debian and apache 2 server

<IfModule mod_rewrite.c>
Options -Multiviews
RewriteEngine On

# Specify the relative path from the parent folder indicated by the VirtualHost to the public folder
RewriteBase /public

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
</IfModule>