Compdigitec Labs

HTTP (Internet)

How to get the classic Firefox look back

Wednesday, November 20th, 2013

While all the latest dynamic changes (such as the new Australis UX) may be interesting, you may be looking to get that classic Firefox look back for productivity reasons. Here is a list of recommended addons to restore your Firefox back to something to do work with: Classic Theme Restorer - Removes many annoying Australis […]

Correcting IP address of PHP behind a reverse proxy

Sunday, November 14th, 2010

As described in our previous post, normally the PHP REMOTE_HOST variable only appears as the address of the trusted proxy server. As was also described in the past, this messes up all of the PHP scripts not explicitly designed to work with REMOTE_HOST. But now we have a solution for this - the apache mod_rpaf. […]

Reverse proxy (X-Forwarded-For) patches for WordPress comments and Bad Behaviour

Saturday, October 30th, 2010

Update: Reverse proxy support is now built into Bad Behaviour as of 2.1.x. Therefore the following patch is obsolete and should only be applied to Bad Behaviour 2.0.x. You can configure the built-in reverse proxy either through your settings.ini or in WordPress administration. Normally, when PHP scripts access the remote IP of a client through […]

Setting up a HTTP Gateway on Ubuntu 10.04

Wednesday, August 11th, 2010

An HTTP gateway is one of the ways that one can host multiple sites using only one external IP. The way that it works is that the user requests the page from the gateway and specifies which host was requested. The gateway server then forwards the request to the appropriate web server, which then returns […]

Setting up a Subversion server using Apache on Ubuntu

Monday, August 9th, 2010

Subversion is an excellent open-source solution for keeping track of the different versions while developing software. Here, we will see how to set up a subversion server on an Ubuntu 10.04 LTS Server to provide programmers with the ability to use Subversion. Prerequisities Apache 2 should have already been installed and configured with SSL - […]

ASP.NET GridView All-In-One Quick Reference

Saturday, July 17th, 2010

Here is a quick collection of snippets where one can quickly lookup the necessities of setting up a GridView for the purposes of displaying information to the viewer through a database (for example, MySQL): Adding Columns of Data Binding the Data (and storage across sessions) Paging Note: This needs AllowPaging to be set to “true”. […]

Solving “The name … does not exist in the current context” in ASP.NET

Wednesday, July 7th, 2010

A little-known fact is that in ASP.NET is that you cannot have two copies of the same ASP.NET web page in the same folder, or it will attempt to load elements (such as controls) from the (usually) wrong page, and end up confusing itself, resulting in the error “The name … does not exist in […]

Free and open source XML beautifers to format XML

Saturday, December 26th, 2009

XML is a great format for storing data, but an improperly-formatted XML file (e.g. whole file on one line, unusual breaking, improper line wrap, etc) can be just as difficult to read as a binary blob. In order to make “blob” XML readable, here are some tools you can use to format XML so it’s […]

Windows Live and Bad Behaviour plugin incompatiblity

Monday, November 16th, 2009

While the Bad Behaviour plugin is an excellent plugin for blocking annoying comment spam and other stuff, but there is a known incompatibility with the Bad Behaviour plugin with the Windows Live. You can go and read the full article, but here is a quick drill-down of what you need to know: Bad Behaviour Logs […]

New e-mail phishing alert - “It’s Easy, Secure and Free!” in big bold letters

Monday, November 2nd, 2009

According to a recent news report, some 20,000 e-mail accounts have been hijacked from Internet phishing. This includes major e-mail providers such as Hotmail and Gmail. This results in spam being sent on behalf of the hijacked accounts and creates a major headache for both the hijacked and the non-hijacked caused by both spam and […]

« Previous Entries