Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 2nd, 2004, 01:33 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wildcards in Virtual Host

I use wildcards in my DNS to allow sub domains, so request to:

mysite.com
office.mysite.com

will both point to my server.

I would like to add a wildcard in the virtual host so that if a request to:

error.mysite.com

was entered it would still point to the correct virtual domain, as opposed to the ip of my server.

I have tried adding a host definition to:

*.mysite.com

but it didnt work, unless you entered *.mysite.com as the URL.

Is there a way to use wildcards in the virtual host, or do they have to be absolute?






Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual host problem cjp17 BOOK: Professional Search Engine Optimization with PHP: A Dev's Guide to SEO ISBN: 978-0-470-10092-9 1 May 23rd, 2009 05:25 AM
How to disable the wildcards(% and _) kasipandian Oracle 1 February 4th, 2008 12:32 AM
Using wildcards in subquery hman SQL Language 2 April 11th, 2005 06:18 AM
Server.xml: how to set up a virtual host rvw Apache Tomcat 2 August 10th, 2004 11:34 PM
strange behaviour: session variable/virtual host ahfaich Pro PHP 8 May 12th, 2004 11:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.