(06.10.2018)
Book Responsive Webdesign
CSS Frameworks > My choice is Bootstrap#
- Bootstrap
- Foundation
Apache#
Multiple sites/folders #
Specify in ..\conf\extra\httpd-vhosts.conf<VirtualHost *:80> ServerName bootstrap.local.de DocumentRoot "G:/lang/Apache/bootstrap" ErrorLog "logs/bootstrap-error.log" <Directory "G:/lang/Apache/bootstrap"> Order allow,deny Allow from all # New directive needed in Apache 2.4.3: Require all granted </Directory> </VirtualHost>Additionally you have to map your new DNS name locally at /etc/hosts (or C:\Windows\System32\drivers\etc\hosts)
127.0.0.1 bootstrap.local.de
Load fix content via server side includes#
Add common parts as header and footer using Server Side Includes. No HTML and no JavaScript is needed. Instead, the webserver automatically adds the included code before doing anything else.<!--#include file="include_head.html" -->