Virtual directories as DB queries
        Posted  
        
        on Stack Overflow
        
        See other posts from Stack Overflow
        
        
        
        Published on 2009-03-17T20:01:26Z
        Indexed on 
            2010/05/18
            16:00 UTC
        
        
        Read the original article
        Hit count: 263
        
I have a site, e.g. site.com I would like users to be able to access it in their locale at site.com/somecity This is similar to craigslist, but they do it with subdomains e.g. sfbay.craigslist.org Using Apache HTTP server. MySql for DB.
If you can provide a brief explanation and perhaps links to more thorough discussions, I would be quite interested in learning. I'm developing a web-app and wonder if I should focus some time to read up on Apache, or should I focus more of my time on server-side programming.
Thanks!
© Stack Overflow or respective owner