enricorossi.org

Enrico Rossi


Typo3 page redirect with 301 code

Typo3 and the 301 code redirection. Suppose you have a website written in typo3 and you want that some pages got redirected to somewhere else with the proper 301 code (Moved Permanently) do this: In the example I will redirect the page to an another internal one. Pick the page you want to redirect and edit it, general -> type: Link to external URL general -> Protocol: auto general -> URL: /index.

Read more...

Systemd network vlan interface up

This is a quick tips to simulate a fake mailserver useful if you want to test and application which send emails. You need netcat (nc) software installed and no email server active on the port 25. In order to open the privilege port 25 I use the root user. The dialog is separated in two part: This is what you type in the nc command line starting with a 3 digits number.

Read more...

Mc55 gprs html get test

After long time I have finally manage to test the internet connectivity of the cinterion/siemens mc55i gsm/gprs modem used in the sintwind project. In order to perform this test I have attached the computer directly to the modem. For more detailed information on these steps (and others) please refer to the MC55iATcommand_set datasheet. The first step is to enable the polling mode, this means that we will query the modem for each result a given command generates.

Read more...

Git public and private server setup

Following a thread among friends on Git hosting problems, I have decided to write about my git installation in order to make some of my repositories publicly available, other shared and other private for restricted use among developers. Public available git area. Create a directory in your webserver and make it accessible by the web as a simple folder or an alias (almost any server comes with a default configuration which shares the /var/www directory).

Read more...

MMA7361 accelerometer arduino

A quick project to use the freescale mma7361 accelerometer sensor with the arduino used, as always, with the bare gcc + avrlibc and avrdude to write the firmware. First keep in mind that the internet is full of projects like this which uses the same device. The intention is to read with the analog to digital converters the 3 axis (xyz) value and print them via the serial port only if these values have changed of a certain amount (#define CHANGED).

Read more...
Previous Page 6 of 16 Next Page