Re: Please dirrect me -- headers ????
| From: | Jason Wong | Date: | Mon, 14 Jul 2003 19:52:06 +0000 |
| Subject: | Re: Please dirrect me -- headers ???? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155158@lists.php.net to get a copy of this message | ||
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"
*/