i need 123.mysite.com/some/path to be processed as mysite.com/123/
some/path
here is what i do:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(\d+)\.mysite\.com
RewriteRule ^(.*) /%1/$1 [QSA]
WSGIScriptAlias / /path/to/htdocs/code.wsgi/
but i get error
[Thu Apr 30 15:57:42 2009] [error] [client 127.0.0.1] File does not
exist: /path/to/htdocs/123
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---