can WSGI get the full URL rather than simply : environ['SERVER_NAME'] ?.. if so.. Mod_Rewrite alternative?
问题 Currently.. environ['SERVER_NAME'] can get the domain name. such as.. domaint.tld or sub.domain.tld but can it also get.. domain.tld/file/in/question.extension also ? if that is possible.. then can this somehow replace.. mod rewrite and do something like this.. suppose the url is domain.tld/01 we split this at / and then if it starts with 0 it must be something that we are looking for.. use the number after '0' to pull out variable content. can this replace mod_rewrite ? i do not like