geschiedenis
Dit is de zoveelste incarnatie van mijn website wie nieuwsgierig is kan de
oudere 'recente' wijzigingen bekijken.How-to host web pages from your home directory, like from ~/Sites to http://localhost/~username This works for most recent mac versions, I did it on 10.14.2.
I always like to host a lot of my frontend projects from my local machine, quite old fashioned from my home directory, recognized by `~` on unix. This is how to do that.
$ cd /etc/apache2 $ open .Open `http.conf` in your favorite editor (I like BBEdit, it helps you do sudo stuff). Find the following line and remove the `#` in front of it.
LoadModule userdir_module libexec/apache2/mod_userdir.soDo the same for the following line.
Include /private/etc/apache2/extra/httpd-userdir.confOpen the `httpd-userdir.conf` configuration file in the directory `/etc/apache2/extra`. Enable the following line by removing `#` in front of it.
Include /private/etc/apache2/users/*.confAnd then for every user for who you like to enable this functionality, you include a file `username.conf` with something like this configuration in the directory `/etc/apache/users/`. This example enables quite al lot of stuff - like directory indexes - which I like during development.
<Directory "/Users/username/Sites/"> AllowOverride All Options Indexes MultiViews Options +FollowSymLinks Require all granted </Directory>Check if your Apache's configuration is correct and restart with the following commands:
$ sudo apachectl configtest $ sudo apachectl restartAnd find the web pages on your mac in `/Users/username/Sites` hosted on http://localhost/~username
0 comments
I keep keeping an eye on Notelet, I've updated it recently to version 1.0.4. Please have a look. Me, myself and I use it daily.
Read more »» ma 22 feb 2016 / door André / 0 commentsA renewed website in MMBase: Tactical Media Files - 'living archive' for Tactical Media. Articles, videos, campaigns and other activist media.
Read more »» wo 4 mrt 2015 / door André / 0 commentsIk heb voor fit&vrolijk personal training, small group training, life style coaching en cursussen een heldere overzichtelijke website ontworpen. Anoeska bedacht zelf het logo, dat gezamenlijk verder is vormgegeven. Vervolgens hebben we haar site ingericht en haar bedrijf aangemeld bij verschillende sociale media.
Read more »» ma 21 okt 2013 / door André / 0 commentsI was looking for a way to validate email addresses in jstl, or rather in a jspx template, and used org.apache.commons.validator for that purpose.
Read more »» do 17 okt 2013 / door André / 0 commentsDit is de zoveelste incarnatie van mijn website wie nieuwsgierig is kan de
oudere 'recente' wijzigingen bekijken.En ik heb hier een pagina waarop ik nieuwe en oudere versies van my_editors verzamel.