Archive for the ‘System administration’ Category

Microsoft IIS 7: Enable Client Side Browser Caching for static Content in Web.config

To optimize the performance of a web site that is hosted in Microsoft’s Internet Information Server 7 it is reasonable to enable client side browser caching for static content (like for example image files, CSS files or JavaScript files) that probably won’t change in the near feature. You can find more information and best practices [...]

Read more…

Archos 101 internet tablet: Activate WLAN HTTP proxy settings in Android WebView

Since firmware version 2.1.8 the Archos 101 internet tablet supports HTTP proxy settings. The proxy settings can be configured under “Settings > Wireless & network > wifi proxy settings”. To enable the HTTP proxy settings in a WebView one has to call WebView.enablePlatformNotifications() in the Activity’s onCreate() method: public class YourActivity extends Activity { @Override [...]

Read more…

Windows batch file to delete old files and remove empty directories recursively

Here is a Windows batch file that finds and deletes old files under a specific directory. In a second step the script removes folders that became empty after deleting the (old) files. Note that the scripts works recursively, i.e. it searches for old files and empty folders in any subdirectory under the specified path. One [...]

Read more…

fit-PC2 & Ubuntu 9.10: Configure Wi-Fi access for WPA2 protected WLAN

Here is a step-by-step tutorial how to configure a fit-PC2 running Ubuntu 9.10 to connect to a WPA2 protected WLAN. First, follow the instructions on http://www.fit-pc2.com/forum/viewtopic.php?f=43&t=1150 to install some fit-PC2 packages that ensure the hardware support. After rebooting, the system should use the fit-PC2 kernel: # sudo uname -r 2.6.31-34-fitpc2 Next, create the file /etc/wpa_supplicant/wpa_supplicant.conf [...]

Read more…