By all by yourself, I mean, without root.
This is on my Mac running OSX 10.10.
- Get yourself an httpd.conf – cp /private/etc/apache2/httpd.conf .
- Edit it to use a port >1024 and with user you – Listen 8081 & User jrwren & Group staff
- Log to a place you can write – ErrorLog /home/jrwren/errorlog & CustomLog /home/jrwren/access_log combined
- Use different pidfile – PidFile /home/jrwren/httpd.pid Do this fter the Include /private/etc/apache2/extra/httpd-mpm.conf
- Accept mutex – Mutex file:/home/jrwren
- Edit whatever else you want – ProxyPass / http://localhost:8080 & SetOutputFilter DEFLATE to see that Apache proxy does gzip for you
- Start httpd – httpd -d . -f httpd.conf -X