Skip to content

Instantly share code, notes, and snippets.

@Tonetete
Created May 9, 2014 11:51
Show Gist options
  • Select an option

  • Save Tonetete/3501597e3bcc770f34cf to your computer and use it in GitHub Desktop.

Select an option

Save Tonetete/3501597e3bcc770f34cf to your computer and use it in GitHub Desktop.
For allow htaccess works in the directory where is allocated.
<Directory />
AllowOverride All
Order Deny,Allow
Deny from all
</Directory>
or
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment