Skip to content

Instantly share code, notes, and snippets.

View jamesapollo's full-sized avatar
🎯
Focusing

James Apollo jamesapollo

🎯
Focusing
View GitHub Profile
@iPublicis
iPublicis / .htaccess
Last active January 16, 2024 08:04
NODE.JS app in Apache - force www. and https: sample .htaccess - partialy based on vielhuber/.htaccess
#########################
#
# NODE.JS app running in Apache
# sample .htaccess - partialy based on vielhuber/.htaccess
# Also rules to enforce www. prefix and https: SSL access
#
# This file must be on the dir where Apache expects to find the website
# The Node App can be anywhere else but must be accessible as explained below.
#