Trying to connect ethernet shield to local apache server

Can you telnet to your server and check if you send exactly what is in your arduino code if that works or not. I have seen web servers requiring user-agent for example.