|
Posted by Andy Jeffries on 05/10/06 00:17
On Tue, 09 May 2006 14:11:31 -0700, news@celticbear.com wrote:
> Anyway, is there some ways that the URL can be completely masked and yet
> still allow sessions to work?
Look at using mod_rewrite with [P] for proxying.
Something like (but this is going from memory):
<VirtualHost *>
ServerName www.demodomainname.com
RewriteEngine on
RewriteRule /(.*) http://www.livedomainname.com/$1 [P]
</VirtualHost>
As I said, that's going from memory but it'll be something like that. I
used to use it when moving sites from one server to another (so you can
move a site even if you don't have the ability/access/time to set the DNS
to be on a quick TTL).
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|