Portal Home > Knowledgebase > Articles Database > telnet wordpress firefox and permalink


telnet wordpress firefox and permalink




Posted by hardjoko, 05-04-2007, 05:00 AM
Guys, I used Wordpress and use permalink feature If I pull this in mozilla firefox http://genetips.com/2007/04/06/love-...ty/archive.htm For example, It'll work fine. However, when I do telnet: telnet genetips.com 80 GET /2006/04/13/why-moral-issues-become-porn-issues/archive.htm HTTP/1.0 It doesn't work. I got 404 error. telnet genetips.com 80 GET / HTTP/1.0 works fine though. I am sure the problem is not because wordpress issue 404 error in header. After all, 404 error is only displayed when wordpress consider there is no such permalink and in those cases my 404 template will pop up. So what's the problem? Why I can access it via firefox and not via telnet? What's the difference between the 2?? Is this because when we access site via telnet we ignore .htaccess?

Posted by Dolbz, 05-04-2007, 05:59 AM
I'm not 100% on this but I'm guessing it's because the request is HTTP 1.0 in telnet and in the browser it will be HTTP 1.1. If you're on a shared hosting package this would explain everything as shared hosting on a single IP AFAIK is not possible with HTTP 1.0. This will mean that your server will be looking at a default host on the server and obviously not finding the correct URL. To fix this you'll need to send a HTTP 1.1 request via telnet which looks a bit like this...I think.....

Posted by hardjoko, 05-04-2007, 10:53 AM
That does the trick thank you.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language: