domain names within app

Hi-

I have an shopping cart rails app.

I would like to be able to host multiple domain names within the same shopping cart application.

I would like to be able to detect the domain name, and then set a parameter that tells what logo to display for that domain name.

Does anyone know how this can be done?

Thanks, Clark

Have you looked at the doc for the request object?