httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Griffith, Michael *" <Michael.Griff...@fda.hhs.gov>
Subject [users@httpd] Vhost shortcut?
Date Thu, 09 Apr 2009 14:58:13 GMT
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.  

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message