FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » HTTP headers and header()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: HTTP headers and header() [message #176648 is a reply to message #176647] Sat, 14 January 2012 07:51 Go to previous messageGo to previous message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma:
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: error from phpadmin
Next Topic: list() Struktur auslagern
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 16:50:34 GMT 2024

Total time taken to generate the page: 0.04216 seconds