Skip to content

Instantly share code, notes, and snippets.

@andreybleme
Created August 1, 2015 16:05
Show Gist options
  • Save andreybleme/8bf3539206cb74904142 to your computer and use it in GitHub Desktop.
Save andreybleme/8bf3539206cb74904142 to your computer and use it in GitHub Desktop.
Apache configuration for URL rewriting
- 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>
@fellipecouto96
Copy link

Cara não funcionou! :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment