Created
August 1, 2015 16:05
-
-
Save andreybleme/8bf3539206cb74904142 to your computer and use it in GitHub Desktop.
Apache configuration for URL rewriting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- This will be commented and must be uncommented to load the rewrite module | |
LoadModule rewrite_module modules/mod_rewrite.so | |
- This block will be different, making impossible to AllowOverride, chage thise lines for the lones below | |
# | |
# Each directory to which Apache has access can be configured with respect | |
# to which services and features are allowed and/or disabled in that | |
# directory (and its subdirectories). | |
# | |
# First, we configure the "default" to be a very restrictive set of | |
# features. | |
# | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
# Order deny,allow | |
# Deny from all | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cara não funcionou! :(