On Tuesday 15 July 2003 03:33, Anthony wrote:
> yes, I can edit the httpd.conf file.  I'm looking in the Apache 2.0 docs
> and can't find the server directive.  Also, to my knowledge and according
> to the docs, "alias mydom.com" is invalid.  "Alias URL-path
> file-path|directory-path" is how the docs explain it.  Am I missing
> something.  If I can do this through Apache. it would probably be much
> simpler.

ServerAlias.

But that's not going to do what you want. It will only effectively make 
www.example1.com and www.example2.com point to the same physical filesystem 
directory and thus make both domains appear the same, BUT the url on the 
user's browser will not change -- for that you're going to have to use a 
redirection header.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Food for thought is no substitute for the real thing.
                -- Walt Kelly, "Potluck Pogo"
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to