on Mac OSX 10.11.4 El Capitan
If you create virtual host, you can use document root for each project.
$ sudo vim /etc/apache2/extra/httpd-vhosts.confAdd like following. In this case 3025 is port number.
| Building native extensions. This could take a while... | |
| ERROR: Error installing jekyll: | |
| ERROR: Failed to build gem native extension. | |
| /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb | |
| creating Makefile | |
| make "DESTDIR=" | |
| compiling porter.c | |
| porter.c:359:27: warning: '&&' within '||' [-Wlogical-op-parentheses] |
| .clearfix:before { | |
| display: table; | |
| content: " "; | |
| } | |
| .clearfix:after { | |
| display: table; | |
| content: " "; | |
| clear: both; | |
| } |
| /* $screen-xs */ | |
| @media (max-width: 479px) {}/* 479px and down */ | |
| @media (min-width: 480px) {}/* 480px and up */ | |
| /* $screen-sm */ | |
| @media (max-width: 767px) {}/* 767px and down */ | |
| @media (min-width: 768px) {}/* 768px and up */ | |
| /* $screen-md */ | |
| @media (max-width: 991px) {}/* 991px and down */ |
| .container, | |
| .container *, | |
| .row, | |
| .row * { | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| .container { |
| /* dl-horizontal dt */ | |
| overflow: visible; | |
| text-overflow: clip; | |
| white-space: normal; |
| <?php | |
| /** | |
| * For debug | |
| * show template file name | |
| * ---------------------------------------------------------*/ | |
| function show_template() { | |
| global $template; | |
| echo basename( $template ); | |
| } |