Search Results

Search found 2 results on 1 pages for 'redn0x'.

Page 1/1 | 1 

  • nginx dynamic servername with regular expression doesn't work for co.uk

    - by redn0x
    I'm trying to setup a nginx server which dynamically loads content from a folder for a domain. To do this I'm using regular expressions in the server name like so: server_name ((?<subdomain>.+)\.)?(?<domain>.+)\.(?<tld>.*); This will create a 3 variables for nginx to use later on, for example when using the following url: test.foo.example.com this will evaluate to: $subdomain = test.foo $domain = example $tld = com The problem arises when the co.uk top-level domain is used. In this case when using the url test.foo.example.co.ukit will evaluate to: $subdomain = test.foo.cedira $domain = co $tld = uk How can I edit the regular expression so that it will also work for co.uk?

    Read the article

  • How do I determin the position of a table using 2 Mouses?

    - by redn0x
    I have a table with a Screen on it underneath there are 2 mouses I need to determin the position of the table. This will manipulate the content on the screen. I already can get the mouse input using the multipoint SDK from microsoft, I only keep failing at the mathemathics. My question now is, how would you determine the position of the table using 2 mouses?

    Read the article

1