Heya, Thanks for visiting!
About: apache
No description...
Tagged Items:
A little late to the party but https://ericeastwood.com/ now has HTTPS everywhere! I used mod_md for Apache which makes it painlessly easy to add LetsEncrypt SSL certs and automatically manage expiration. apache.conf MDomain ericeastwood.com MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf Resources https://css-tricks.com/moving-to-https-on-wordpress/ https://github.com/icing/mod_md (Thanks @icing for the quick segmentation fault fix)
Basic <Directory> tag explanation Here is a sample script allowing all users: <Directory "/var/www/static/"> Options -Indexes Order deny,allow Allow from all AllowOverride All Require all granted </Directory> Options -Indexes: Removes the ability to view all files in directory if index html or php are not present Order deny,allow: Applies the deny operations before the allow operations AllowOverride All: Allows .htaccess to override settings in httpd.conf, etc Require all granted: some mod_authz_core thing. Not completely sure. Create password protected Directory or Location: # PW protect URL <Location "/secret-stuff"> AuthType Basic AuthName "Private Directory" AuthUserFile /etc/httpd/.htpasswd Require valid-user </Location> # PW protect directory <Directory "/path/to/directory"> # ... Look above </Directory> AuthType Basic: Set the Basic authentication method AuthName "Private Directory": Provide a ...
This is a basic guide to get django running with WAMP. This tutorial was written with Python 2.7.5 and django 1.5 in mind but applies for all versions. Use Windows command prompt (cmd) whenever it says to use a command. I suggest using this command prompt alternative. Basic Setup: Install WAMP Get mod_wsgi module for apache. I suggest getting it from here. Add mod_wsgi.so to C:\wamp-2-4.64bit\bin\apache\Apache2.4.4\modules Add the line in httpd.conf: LoadModule wsgi_module modules/mod_wsgi-ap24-py27.so Install Python 2.7.5 because Python 3.3 does not have enough supported packages Install virtualenv (python package) using this command: pip install virtualenv Create a folder called www-src alongside your wamp www folder and navigate to it in cmd using this command: cd C:\wamp-2-4.64bit\www-src Create a new ...
1