Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Attila Glück glucka

🏠
Working from home
  • Freelancer
  • Veszprém, Hungary
View GitHub Profile
@ludo237
ludo237 / .htaccess
Last active Aug 28, 2021
The ultimate .htaccess file. Please feel free to fork it, edit it and let me know what do you think about it.
View .htaccess
# Apache configuration file
# httpd.apache.org/docs/2.2/mod/quickreference.html
# Note .htaccess files are an overhead, this logic should be in your Apache
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
# Techniques in here adapted from all over, including:
# Kroc Camen: camendesign.com/.htaccess
# perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
# Sample .htaccess file of CMS MODx: modxcms.com
# This is the free sample of .htaccess from 6GO s.r.l.
# @author Claudio Ludovico Panetta (@Ludo237)