[pid: 924|app: 0|req: 1542/3269] 95.21.110.xxx () {46 vars in 1179 bytes} [Thu Oct 24 15:35:01 2013] GET /profile/albert.abril => generated 50 bytes in 0 msecs (HTTP/1.1 400)3 headers in 116 bytes (1 switches on core 0)
So I guess I should hack into the routes.py.
And I guess I should make a regexp to $profile to the next line in routes.py:('/profile/$profile', '/app/profile/index/$profile'),
(r'.*?:https?://subdomain.domain.com:\w* /$anything', r'myapp'),
It should be appended after the 'w', I tried with this options, but no success:
1. (r'.*?:https?://subdomain.domain.com:\w.* /$anything', r'myapp'),
2. (r'.*?:https?://subdomain.domain.com:\w\.* /$anything', r'myapp'),
3. (r'.*?:https?://subdomain.domain.com:\w\\.* /$anything', r'myapp'),
(r'.*?:https?://subdomain.domain.com:[\w\.]+ /$anything', r'style'),
output:
neither for:(r'.*?:https?://subdomain.domain.com:[\w\.]+ /$anything', r'style'),
output:
First URL is working ok, second not:
1. http://subdomain.domain.com/profile/albert Works
2. http://subdomain.domain.com/profile/albert.abril Invalid request