Commit 9ec4c866 authored by syntaqx's avatar syntaqx

added htaccess documentation and symlinks

Signed-off-by: 's avatarsyntaqx <syntaqx@gmail.com>
parent 22f99bce
# Apache configuration file
# http://httpd.apache.org/docs/2.2/mod/quickreference.html
# Note: ".htaccess" files are an overhead for each request. This logic should
# be placed in your Apache config whenever possible.
# http://httpd.apache.org/docs/2.2/howto/htaccess.html
# Turning on the rewrite engine is necessary for the following rules and
# features. "+FollowSymLinks" must be enabled for this to work symbolically.
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine on Options +FollowSymLinks
RewriteEngine On
</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f # For all files not found in the file system, reroute the request to the
RewriteCond %{REQUEST_FILENAME} !-d # "index.php" front controller, keeping the query string intact
RewriteRule ^(.*)$ index.php/$1 [L] <IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule> </IfModule>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment