[{ALLOW view All}]
[{ALLOW edit Authenticated}]
(06.10.2018)
Book [Responsive Webdesign|http://www.responsive-webdesign-praxis.de]
!CSS Frameworks > My choice is Bootstrap
* Bootstrap
* Foundation
!! Apache
[Config|https://wiki.selfhtml.org/wiki/Webserver/Apache#Die_Konfigurationsdatei_httpd.conf]
!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|https://httpd.apache.org/docs/current/howto/ssi.html]. No HTML and no JavaScript is needed. Instead, the webserver automatically adds the included code before doing anything else.
{{{
<!--#include file="include_head.html" -->
}}}