KClaisse Posted November 12, 2006 Share Posted November 12, 2006 Hello! Right now my server has a total of 2 sub-domains. Forums, and Mail. I wish to add another, called jabber, but I wish for it to be on port 9000.So far this hasn't worked.Here is my configuration for the VirtualHosts, with the new vhost appended.[code]<VirtualHost *:80>DocumentRoot /var/www/virtual/forumsServerName forums.kylesplace.orgServerAlias forums.kylesplace.org# Other directives here<Directory /var/www/virtual/forums>Options +Includes Indexes FollowSymLinks +ExecCGI AllowOverride None Order allow,deny Allow from all</Directory></VirtualHost> <VirtualHost *:80>DocumentRoot /var/www/virtual/mailServerName mail.kylesplace.orgServerAlias mail.kylesplace.org# Other directives here<Directory /var/www/virtual/mail>Options +Includes Indexes FollowSymLinks +ExecCGI AllowOverride None Order allow,deny Allow from all</Directory></VirtualHost>#####jwchat vhostLoadmodule jk_module modules/mod_jk.soJkWorkersFile /etc/httpd/conf/workers2.propertiesJkLogFile /etc/httpd/logs/mod_jk.logJkLogLevel infoJkLogStampFormat "[%a %b %d %H:%M:%S %Y] "# serve all java server pages from TomcatJkMount /*.jsp ajp13<VirtualHost *:9000>DocumentRoot /var/www/virtual/jwchatServerName jabber.kylesplace.orgServerAlias jabber.kylesplace.org# Other directives here<Directory /var/www/virtual/jwchat>Options +Includes Indexes +MultiViews FollowSymLinks +ExecCGI AllowOverride None Order allow,deny Allow from all</Directory></VirtualHost>[/code]Now if you navigate to [url=http://jabber.kylesplace.org:9000]jabber.kylesplace.org:9000[/url] you'l get the corrrect page. But if you navigate to [url=http://www.kylesplace.org:9000]www.kylesplace.org:9000[/url] you'll [b]also[/b] get the correct page. So my question is, how do I stop all subdomains except jabber* from listening on port 9000 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.