Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
9ec4c866
Commit
9ec4c866
authored
May 29, 2012
by
syntaqx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added htaccess documentation and symlinks
Signed-off-by:
syntaqx
<
syntaqx@gmail.com
>
parent
22f99bce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
.htaccess
public/.htaccess
+19
-4
No files found.
public/.htaccess
View file @
9ec4c866
# 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
>
# For all files not found in the file system, reroute the request to the
# "index.php" front controller, keeping the query string intact
<
IfModule
mod_rewrite.c
>
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^(.*)$ index.php/$1 [L]
RewriteRule
^(.*)$ index.php/$1 [L]
</
IfModule
>
</
IfModule
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment