Tried both methods on my Linux server. The first resulted in an Internal Server Error (without further comments). The second apparently works.
On my linux-hosted site, method one also gave an Internal Server Error. Method two did not, but the websites about show the same results for before/after. So I would say it isn't working.