Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4458

Re: HTTP headers and header()

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php, comp.infosystems.www.servers.unix, alt.apache.configuration
Subject Re: HTTP headers and header()
Followup-To alt.apache.configuration
Date Sat, 14 Jan 2012 08:51:53 +0100
Lines 22
Message-ID <9ncqgpFna8U1@mid.individual.net> (permalink)
References <d16b12f4-efb0-46e7-a585-a4c143c33818@a8g2000pbi.googlegroups.com> <4F10DCFB.1060001@arnowelzel.de> <ec34c218-e4ec-4411-992e-3cc4ab07d401@lc6g2000pbb.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net sK3PhgF2eg6c5JHEZv/VBg/F23q5zX5nU6/5O4LAgFC+FWaeTP
Cancel-Lock sha1:Fbs6zRiXbEibTi2dSGxZPgfkTXc=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20111226 Firefox/9.0.1 SeaMonkey/2.6.1
In-Reply-To <ec34c218-e4ec-4411-992e-3cc4ab07d401@lc6g2000pbb.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.php:4458 comp.infosystems.www.servers.unix:57

Cross-posted to 3 groups.

Followups directed to: alt.apache.configuration

Show key headers only | View raw


Sandman wrote:

> 2. Use VirtualHosts which does not change the location bar. But with
> this solution, vanity.user.com/user resolves to example.com/user.
> Which is not really what I wanted.

Thenk yo haven't set up the virtualhost correctly, instead of redirecting with 
mod_rewrite, you set the documentroot to the actual directory which is the 
same as it would have been for example.com/user.
If the directory depends on a CMS, then you need to employ the usage of 
mod_proxy in the virtualhost, which fetches the files from example.com/user.

In both these cases the domain will be kept as the original one which the 
visitor typed in the browser.


Did set the follow up to alt.apache.configuration as that is the newsgroup 
where this thread should have been all the time.

-- 

   //Aho

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

HTTP headers and header() Sandman <enjoylife_95135@hotmail.com> - 2012-01-13 12:47 -0800
  Re: HTTP headers and header() The Natural Philosopher <tnp@invalid.invalid> - 2012-01-13 22:07 +0000
  Re: HTTP headers and header() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-13 23:32 +0100
    Re: HTTP headers and header() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-13 23:33 +0100
  Re: HTTP headers and header() Arno Welzel <usenet@arnowelzel.de> - 2012-01-14 02:40 +0100
    Re: HTTP headers and header() Sandman <enjoylife_95135@hotmail.com> - 2012-01-13 18:58 -0800
      Re: HTTP headers and header() "J.O. Aho" <user@example.net> - 2012-01-14 08:51 +0100
      Re: HTTP headers and header() Arno Welzel <usenet@arnowelzel.de> - 2012-01-14 10:37 +0100
      Re: HTTP headers and header() The Natural Philosopher <tnp@invalid.invalid> - 2012-01-14 11:09 +0000
  Re: HTTP headers and header() Jonathan Stein <jstein@image.dk> - 2012-01-14 15:26 +0100
  Re: HTTP headers and header() "Miquel van Smoorenburg" <miquels@netscum.invalid> - 2012-01-20 15:34 +0000

csiph-web