Re: WC on Linux question

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 40337
interpreted = N
texte = John,on 11/27/2001 12:58 PM, John Peacock at jpeacock@rowman.com wrote:> dale wrote: > >> John, >> >> I like your idea, however the folders that will be created will be publicly >> accessible folders of the form >> >> www.domain.com/users/nickname/ >> >> I would imagine creating folders like you recommend would then cause >> problems getting apache to properly recognize them. > > > Not at all; Apache can handle much deeper links than that in a > heartbeat. Just display the link on the page as > > http://nickname.domain.com > > where the actual href is > > http://www.domain.com/users/n/i/nickname/ > > Actually, you can probably use mod.rewrite to do that for you; this > would be the most elegant methodology, but hardly the simplest.Would this mod_rewrite work so I could use URLs styled like www.domain.com/users/nickname/ ?You mention this isn't the simplest how difficult is this to implement? Can I make changes to this using webcat? E.g. Write out a line to its config file as needed when users make changes?>> I guess I could use your suggestion and wildcard the domain in DNS so I >> could end up using http://nickname.domain.com/ instead. That would probably >> be easier to configure, but I am not sure. > > > Sure, if you want to be editing your nickname.conf file and restarting > Apache everytime you make a change.I don't believe I would have to restart each time (but of course could be wrong) I believe I can just set the DNS up using a wildcard so that any request for a machine name that doesn't match an existing A or CNAME record would go to a listed IP, then I could use WC to grab the host and display the proper page.But then again, not having used Apache in a virtual domain configuration, I could be way wrong. > JohnGiven that I know I will start with approximately 10,000 users and would need to create these 10,000 folders with matching index.html file in each, and expect to grow this a great deal over the next few months (and hopefully continued growth) how would you set this up?My preference would be to use the www.domain.com/users/nickname/ style for now. But could handle going with the http://nickname.domain.com if I had to. I was hoping to use the latter method down the road as maybe a premium feature.ThanksDale ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: WC on Linux question (John Peacock 2001)
  2. Re: WC on Linux question (dale 2001)
  3. Re: WC on Linux question (John Peacock 2001)
  4. Re: WC on Linux question (dale 2001)
  5. Re: WC on Linux question (John Peacock 2001)
  6. Re: WC on Linux question (dale 2001)
  7. Re: WC on Linux question (Jeroen de Wijn 2001)
  8. WC on Linux question (dale 2001)
John,on 11/27/2001 12:58 PM, John Peacock at jpeacock@rowman.com wrote:> dale wrote: > >> John, >> >> I like your idea, however the folders that will be created will be publicly >> accessible folders of the form >> >> www.domain.com/users/nickname/ >> >> I would imagine creating folders like you recommend would then cause >> problems getting apache to properly recognize them. > > > Not at all; Apache can handle much deeper links than that in a > heartbeat. Just display the link on the page as > > http://nickname.domain.com > > where the actual href is > > http://www.domain.com/users/n/i/nickname/ > > Actually, you can probably use mod.rewrite to do that for you; this > would be the most elegant methodology, but hardly the simplest.Would this mod_rewrite work so I could use URLs styled like www.domain.com/users/nickname/ ?You mention this isn't the simplest how difficult is this to implement? Can I make changes to this using webcat? E.g. Write out a line to its config file as needed when users make changes?>> I guess I could use your suggestion and wildcard the domain in DNS so I >> could end up using http://nickname.domain.com/ instead. That would probably >> be easier to configure, but I am not sure. > > > Sure, if you want to be editing your nickname.conf file and restarting > Apache everytime you make a change.I don't believe I would have to restart each time (but of course could be wrong) I believe I can just set the DNS up using a wildcard so that any request for a machine name that doesn't match an existing A or CNAME record would go to a listed IP, then I could use WC to grab the host and display the proper page.But then again, not having used Apache in a virtual domain configuration, I could be way wrong. > JohnGiven that I know I will start with approximately 10,000 users and would need to create these 10,000 folders with matching index.html file in each, and expect to grow this a great deal over the next few months (and hopefully continued growth) how would you set this up?My preference would be to use the www.domain.com/users/nickname/ style for now. But could handle going with the http://nickname.domain.com if I had to. I was hoping to use the latter method down the road as maybe a premium feature.ThanksDale ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ dale

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Add a Blog to your site. (2002) Date and Comparisons (2002) Enhancement Request for WebCatalog-NT (1996) webten vs. webstar (1998) creator code (1997) Bit off subject -- Faxing orders (1997) Sorting Numbers (1997) Simple way to create unique SKU (1997) Shopping with Accounts (2003) 2.0Beta Command Ref (can't find this instruction) (1997) Emailer problem (1998) Search results templates (1996) Formating found categories (1997) [WebDNA] Recurring Orders (2012) WebCatalog can't find database (1997) Nested vs conditional (1997) Goodbyes (2007) add to cart within a page? (1997) WebCatalog for Postcards ? (1997) [Fileinfo] Context (2000)