javascripts_redirection
If you want to send us your comments, please do so. Thanks
More on comments
Javascripts redirection
To give the visitors of your websites more privacy you can host javascripts locally
They can be updated via a cronjob which checks if there is a newer version available and replaces the old version with the new version
- Add the hostname of the script to be redirected to the hostsfile like
127.0.0.1 sb.scorecardresearch.com
- Install Apache
- Put the script in the right directory like
/var/www/html/c2/17827132cs.js
This works for http requests. For https more is needed
For a start, this is an investigation in progress, change to
Listen 80 443
in
/etc/apache2/ports.conf
Also add
<VirtualHost *:443> ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>
to
/etc/apache2/sites-enabled/000-default.conf
Restart Apache with
service apache2 restart
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.
javascripts_redirection.txt · Last modified: 02-02-2019 21:41 by wim