Comments on: Google AppEngine: URL Rewriting http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Soan http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-21276 Fri, 27 Jan 2012 18:55:07 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-21276

Can you show the code for doing a URL rewrite using JAVA code on Google App. Engine?
I am trying to create a proxy for DropBox using Google App. Engine and want to rewrite the URLs.

Reply  |  Quote
]]>
By: A Hamid http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-19751 Thu, 21 Jul 2011 11:39:07 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-19751

Does anyone know how to do this with java and GAE?

Reply  |  Quote
]]>
By: wessite http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-16802 Sat, 07 Aug 2010 11:47:33 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-16802

Thanks for the post. I need this on my new app.

The www part is still useful for the speed freaks out there, check here: http://developer.yahoo.com/performance/rules.html#cookie_free

Reply  |  Quote
]]>
By: John http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-16424 Wed, 07 Jul 2010 21:18:16 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-16424

had to add another comment as i forgot to check the “notify me” tickbox!

Reply  |  Quote
]]>
By: John http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-16423 Wed, 07 Jul 2010 21:16:51 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-16423

does anyone know how to do this in java app engine?

Reply  |  Quote
]]>
By: redforest http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-13660 Thu, 26 Nov 2009 06:28:40 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-13660

Very simple and useful hack, thanks for post =)

Reply  |  Quote
]]>
By: Google App EngineでURLのRewrite – ssonLogger http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-13441 Sun, 01 Nov 2009 04:19:37 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-13441

[…] Google AppEngine: URL Rewriting « Terminally Incoherent […]

]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-12283 Mon, 11 May 2009 20:15:18 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-12283

Wait… Where did my comment go? I swear I posted a comment just a second ago. WTF? Oh well, I guess I didn’t press Post or something. Anyway…

@Chris Wellons: Yeah, I force it here, but I think I did it because of some legitimate reason at the time. I think it had something to do with page rank for www URL being higher than for the non http://www... Still, it shouldn’t matter if I just 301 redirect everything.

Just for shits and giggles I tried forcing the non-www version of the URL and WordPress went into some sort of self-redirecting loop. So I’m guessing something is broken somewhere and I need to locate and fix it before I do the switch.

Yes, I agree it is unnecessary and usually when I link back to my blog I write the URL without WWW.

@Matt`: No worries. If the blog goes offline it’s usually Dreamhost fucking up, not me. I’m usually very cautious about not screwing around with settings that are working well for no reason. Well, except today when I did mess with them and knocked the site down for about 3 minutes. :P

Reply  |  Quote
]]>
By: Matt` http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-12282 Mon, 11 May 2009 19:54:25 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-12282

Some day I am going to want to do things, and the archives of this website will be crazy-useful.

So don’t you do anything crazy like going offline, I might need all those code examples for doing useful thing X in language Y :P

Reply  |  Quote
]]>
By: Chris Wellons http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/#comment-12281 Mon, 11 May 2009 19:26:12 +0000 http://www.terminally-incoherent.com/blog/?p=3016#comment-12281

Useful hack. I hate needlessly ugly URLs. When possible, a dynamic site should look like a simple file hierarchy without any GET parameters.

Imagine if the URL to this post was the following!

http://www.terminally-incoherent.com/wordpress/blog.php?year=2009&mont h=5&day=11&postid=29423933740

Also, can we all finally drop the www part of URLs someday? Everyone insists on using it, but it’s unnecessary. (I do see that you force it here! :-P)

My favorite examples of needlessly ugly URLs are just about any Slashdot URL, and the wiki URLs from the mismanaged TV Tropes website. This is the canonical TV Tropes main page URL (you get redirected here if you try just the domain),

http://tvtropes.org/pmwiki/pmwiki.php/Main/HomePage

It contains “pmwiki” not once, but twice, and probably shouldn’t have it visible at all. The entire “pmwiki/pmwiki.php/Main/” is a big static chunk of ugly. Hey, no www though! And it looks like a file hierarchy. So, there are some good things here. I think any of these would be much better.

[list removed for spam filter, use your imagination]

(I had more stuff written, but there is some kind of URL limit, then your spam filter kicks on. Or it doesn’t allow lists of URLs. We are losing the spam war to crappy spam filters.)

Ok, I’m done ranting!

Reply  |  Quote
]]>