You are currently browsing the Carl's notes weblog archives for December, 2009.

EeePC bluetooth and webcam must be enabled in the BIOS

Bluetooth and webcam must be enabled in the BIOS of the EeePC otherwise you won’t be able to use them. They seem to be disabled when you restore the EeePC to it’s factory state.

Changing the baseURL in Typo3 and getting full https to work

After renewing our server certificates I tested the configuration by accessing our main webpage via https. Firefox reported that the page wasn’t encrypted. This happens when certain parts of the page, typically images, are accessed over http. In my case this was due to the <base href="http://eis.comp.lancs.ac.uk" /> in the head section of the page. This caused the header image to be accessed via http even though the link was specified as <img src="fileadmin/template/images/title.png" /> with a relative URL.

In the Typo3 backend edit the template as follows.

config.baseURL = http://myserver.net/
[globalString = _SERVER|HTTPS=on]
	config.baseURL = https://myserver.net/
[global]

Initially I just removed the http:// from the beginning of the baseURL but it seems to be ignored by the browser if the protocol isn’t specified.

Save the template. Don’t forget to clear the cache. On my version of Typo3 there’s a button showing a lightning bolt up in the top right corner for that.

More details about conditionally setting the baseURL at Typo Free.

Apache certificates for https

Our webserver provides https access to some admin webpages and services such as webmail or Subversion. The university computer services can get a key signed by a recognised certificate authority. Here are the steps I followed.
Read more…

Syncing Nokia 2730 with Evolution

I wanted to sync the calendar and contacts between my new Nokia 2730 phone and Evolution running on my Ubuntu laptop. It seems to work.

I installed the following packages: multisync-tools multisync0.90 opensync-plugin-syncml opensyncutils.
Read more…

Comparing floating point values in Matlab

Floating point values that look the same may not evaluate as equal in Matlab (or any other environment). I’m aware of this but keep getting caught out. There’s a blog post from 2006 on Matlab Central but it’s still very relevant.
Read more…