Heya, Thanks for visiting!
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 ...
I am happy to move on from "under construction" to this iteration of the site. The site is built with Python and Django, my new found love for making websites. The design and layout was made with much love by me. This site currently boasts a blog, about page, and contact page. I plan to write about my latest developments, tutorials, and quick guides about the web dev, design, hardware, and more. Feel free to use the contact page to get in touch with me or the about page to get to know me first.