httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Tomlinson <>
Subject Re: [users@httpd] Domain Masking (I think?)
Date Sun, 24 May 2009 16:07:45 GMT
Davide Bianchi wrote:
> Drew Tomlinson wrote:
>> The two URLs are:
> The first one is not a domain name, but a domain name + a subdir, that
> make me think that you already have some sort of rewrite or redirect
> rule that changes your URL adding the 'fatblog' bit.

Thanks for your reply.  There is no rewrite or redirect.  The "/fatblog" 
is an "Alias" defined in the virtual host 
container.  Here's the specific line:

Alias /fatblog "/path/to/wordpress"

Thus is just the URL to my 
WordPress installation.  There is nothing being done by Apache.

> You'll need to check that and eventually add something similar to the
> other vhost, unless is in an .htaccess and is not added by your webpress
> installation.
> For the rest, if you have a default configuration of Apache, the
> hostname that is displayed is the same that the user typed in the
> address bar. See the 'UseCanonicalName' options in the docs.

I looked at the UseCanonicalName directive but it doesn't seem to be the 
right answer for me.  My WordPress installation is set up as so all the links on the WordPress 
pages point to http://drew/  Thus if 
one enters the WordPress site with URL and begins navigating through the 
site, http://drew/ is always 
displayed in the browser address bar.  This is exactly what I expect and 

Now I also want to have one be able to access the WordPress installation 
via  Thus I have configured a 
virtual host with these relevant directives:

DocumentRoot /path/to/wordpress

With this setup, I can enter the WordPress installation via  However because the WordPress 
installation is setup as, all the 
links on the page point to  Thus clicking on any 
link changes the address in the browser's address bar from to

So I guess my question is, "If I click on a link named, how can I make the 
address displayed in the browsers address bar show".  Is this possible and 
if so, how?

These are all working links so you can actually try them if you wish.

Thanks for your help!


Be a Great Magician!
Visit The Alchemist's Warehouse

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message