Tag Archives: following line

How to – Debian Static IP Configuration

… default Network. There is another change needed if you plan to configure this machine as a simple router. You need to enable IP forwarding, in other words allow the machine to forward traffic for its clients. # nano /etc/sysctl.conf Change the following line : net.ipv4.ip_forward = 0 to net.ipv4.ip_forward = 1 Reboot the machine to make the setting active, or issue the following command to make the kernel aware of the change: # echo 1 > /proc/sys/net/ipv4/ip_forward Why do you want your Debian …

Browser Auto-config and Wpad deployment

… just place the file in the root directory. Apache: Create the wpad.dat file on the www directory depending on your distribution (on a Debian is /var/www/). For instance: #nano /var/www/wpad.dat would open the nano editor. If nano is not install use vi or mcedit or any other text editor. Edit httpd.conf: #nano /etc/apache/httpd.conf and insert the following line:   AddType application/x-ns-proxy-autoconfig .dat Make sure apache daemon is starting at boot time, …

How to use 301 Redirect for moved or missing pages

… the valid one, passing on the ranking for the new page. How to do a 301 Redirection Apache 301 Redirection Look for the .htacces file on the root of your website’s directory. If there isn’t one create it. On Windows you might have difficulties to create a file with an empty name and only the extension. But once the file created, for instance on the host operating system you can edit the file using notepad or wordpad. The simplest method is to place the following line into your .htaccess …