Month: April 2017

  • Redirect domain to directory in other domain.

    # Redirect all pages from olddomain.com # to newdomain.com Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www.olddomain.com$ [OR] RewriteCond %{HTTP_HOST} ^olddomain.com$ RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]

  • Mount Windows Shares Permanently

    CIFS installation sudo apt-get install cifs-utils Mounting unprotected (guest) network folders First, let’s create the mount directory. You will need a separate directory for each mount. sudo mkdir /media/windowsshare Then edit your /etc/fstab file (with root privileges) to add this line:

  • Traccar in docker

    Run the following command: docker run -d –privileged -p 8082:8082 -p 5005:5013 -p 5055:5055 magnaz/traccar Webserver adres: 808 RF-V16 tracker: Send by tracker on port 5013, received by Traccar on port 5005. (needed to use the right protocol) Traccar Android client: 5055