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


Groups > comp.lang.php > #4461

Re: HTTP headers and header()

From The Natural Philosopher <tnp@invalid.invalid>
Newsgroups comp.lang.php, comp.infosystems.www.servers.unix
Subject Re: HTTP headers and header()
Date 2012-01-14 11:09 +0000
Organization albasani.net
Message-ID <jernp4$356$2@news.albasani.net> (permalink)
References <d16b12f4-efb0-46e7-a585-a4c143c33818@a8g2000pbi.googlegroups.com> <4F10DCFB.1060001@arnowelzel.de> <ec34c218-e4ec-4411-992e-3cc4ab07d401@lc6g2000pbb.googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


Sandman wrote:
> Thanks Arno. I thought as much, but thank you for confirming.
> 
> I had wanted vanity.user.com to resolve to example.com/user.
> It seems there are only 2 possible half-solutions:
> 1. Use redirects, which change the location bar as I mentioned
> originally.
> 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.
> 

Bullshit. Set the root directory of example.com to be the same directory 
as vanity.user.com/user

You are just being lazy.

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