On Fri, 4 Nov 2005, Grant wrote: > The shopping cart software does only look at the URL, but I have it > determining what to display partially based on the domain in that URL. > apache2 doesn't do anything based on the domain.
If you are using name virtual-hosting, Apache can serve different sites based on the domain name, e.g. # a.b.c.d is your IP NameVirtualHost a.b.c.d <VirtualHost name1.server.com> </VirtualHost> <VirtualHost name2.server.com> </VirtualHost> When using name virtual hosting, Apache looks at the Host: header in the HTTP request and matches that to VirtualHost blocks. > The shopping cart > software is open-source Interchange, but the stuff I'm talking about > here is custom-programmed in ITL (Interchange Tagging Language) for > non-standard operation. > > http://icdevgroup.org > > Interchange is awesome and I highly recommend it, but I have to > mention its steep learning curve. Ive played with many ecommerce packages (OSC, intershop, home-grown stuff in Perl, PHP and ASP). Recently built a site using Mambo (err... that should be called Joomla now ;-) and a plugin callead mambo-phpshop. The plugin has a complete backend already built so you just customize a few pages... Interchange sounds more like a framework that needs more work to build a complete store, right? -- -- gentoo-user@gentoo.org mailing list