Re: Vhost shortcut?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/4/9 Griffith, Michael * <Michael.Griffith@xxxxxxxxxxx>:
> I have some difficult users, who want to just type in a partial URL (in
> this case "tracking") as the URL and be directed to an app that is
> located on a server with a DNS entry tracking.domain.com.
>

Guessing the clients can resolve "tracking" to the correct server
through the DNS you've set up....
Otherwise the IE(vil) Users must add that custom hostname and the
correcponding IP-address in their hosts file.

then I'd set up a virtual host like that...

<VirtualHost  123.123.123.123:80>
        ServerName tracking
        Redirect / http://tracking.somewhere.else/
</VirtualHost>

No need to have a docroot etc.

byebye



> I suggested setting a browser bookmark, but was rebuffed. Browser is
> IE6, if that makes any difference. The problem is this used to work on a
> different server.
>
> Is there a way to configure the vhost to recognize the partial url and
> direct them to the app?
>
> In other words typing in --> tracking in the url would be the equivalent
> of http://tracking.domain.com/
>
> Here's what my vhost entry looks like:
>
> # Tracking Vhost
> <VirtualHost *:80>
>    <Directory "/www/docs/tracking">
>      Options Indexes FollowSymLinks
>      AllowOverride None
>      Order allow,deny
>      Allow from all
>    </Directory>
>    DocumentRoot /www/docs/tracking
>    DirectoryIndex index.html index.jsp index.htm index.php
>    ServerName tracking.domain.com
>    ServerAlias tracking.domain.com
>    OPtions ExecCGI Includes MultiViews SymLinksIfOwnerMatch Indexes
> -FollowSymLinks
>    JKMount /tracking/* ajp13
>    JKMount /tracking ajp13
> </VirtualHost>
>
> Any reply would be appreciated!
>
> MG
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux