Skip to content

Instantly share code, notes, and snippets.

View diegoe's full-sized avatar

Diego Escalante Urrelo diegoe

View GitHub Profile
@diegoe
diegoe / httpd-vhosts.conf
Last active January 5, 2021 22:09
Personal changes to Homebrew's extra/httpd-vhosts.conf. See on my blog: http://diegoe.be/2014/03/26/setting-up-apache-php-mysql-on-osx-with-homebrew
<VirtualHost *:8080>
<IfModule php7_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
ServerAdmin webmaster@dummy-host.example.com
@diegoe
diegoe / apache2-httpd.conf.diff
Last active November 5, 2019 14:15
Personal changes to Homebrew's httpd.conf. See on my blog: http://diegoe.be/2014/03/26/setting-up-apache-php-mysql-on-osx-with-homebrew
--- /usr/local/etc/apache2/2.2/original/httpd.conf 2014-12-05 20:14:50.000000000 -0500
+++ /usr/local/etc/apache2/2.2/httpd.conf 2014-12-05 20:16:46.000000000 -0500
@@ -38,7 +38,7 @@
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
-Listen 8080
+Listen 8000
#