![]() This default vhost is used whenever the host header does not match any of the configured virtual hosts. This is possible because in your webserver you can (and if I'm not mistaken you must) set up one vhost to be the default host. In this case, you still have the possibility to read that header manually in your web app if you want to provide different behavior based on different domains addressed. You can even have the same virtual host using several aliases (= domains and wildcard-domains). The Host Header tells the webserver which virtual host to use (if set up). 250Mb\n" tSizeAns = int(raw_input()) if tSizeAns = 1: tSize = "100Mb" elif tSizeAns = 2: tSize = "250Mb" else: tSize = "100Mb" # in case user fails to enter either a 1 or 2 print "\nYou want to create a random song list that is ) This should do it: #!/usr/local/cpython-2.7/bin/python # offer users choice for how large of a song list they want to create # in order to determine (roughly) how many songs to copy print "\nHow much space should the random song list occupy?\n" print "1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |