Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

virtual hosts apache/tomcat

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Configuring apache as a proxy server  
Author Message
suntacnospampl

External


Since: Sep 04, 2003
Posts: 41



(Msg. 1) Posted: Mon Sep 22, 2003 1:30 pm
Post subject: virtual hosts apache/tomcat
Archived from groups: alt>apache>configuration (more info?)

Ok, finaly have apache and tomcat running both on port 80.

I have created the following dir's
/export/home/www.someserver.com
/export/home/mnt.someserver.com

This will be the location of http://www.someserver.com and
http://mnt.someserver.com

To test I have placed a document named info_www.txt in
/export/home/www.someserver.com and placed info_mnt.txt in
/export/home/mnt.someserver.com I have created 2 virtual hosts like
this in
my httpd.conf:
_____________________________________
NameVirtualHost *

<VirtualHost *>
ServerAdmin Me RemoveThis @domain.com
DocumentRoot/export/home/www.someserver.com
ServerName www.someserver.com
ErrorLog /export/home/log/errorlog-2
CustomLog /export/home/log/customlog-2 custom
</VirtualHost>

<VirtualHost *>
ServerAdmin Me RemoveThis @domain.com
DocumentRoot /export/home/mnt.someserver.com
ServerName mnt.someserver.com
ErrorLog /export/home/log/errorlog-1
CustomLog /export/home/log/customlog-1 custom
</VirtualHost>
_____________________________________

If open www.someserver.com/www.txt this is correct and working Then I
open www.someserver.com/info_mnt.txt and this also opend. This should
not be possible info_mnt.txt should only be availabale true the domain
mnt.someserver.com. How is it possible I also can open it true
www.someserver.com ?

I also like to run jsp files under www.someserver.com and
mnt.someserver.com ... people are not allowd to open documents from
mnt in the www part...... How do I change the webapps dirs and make
them available under http://mnt.someserver.com and
http://www,someserver.com ?

Thanks already,
Regards. Johan.

 >> Stay informed about: virtual hosts apache/tomcat 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache/tomcat and virtual hosts - Ok, finaly have apache and tomcat running both on port 80. I have created the following dir's /export/home/www.someserver.com /export/home/mnt.someserver.com This will be the location of http://www.someserver.com and http://mnt.someserver.com To test...

virtual hosts tromcat/apache - Ok, finaly have apache and tomcat running both on port 80. I have created the following dir's /export/home/www.someserver.com /export/home/mnt.someserver.com This will be the location of http://www.someserver.com and http://mnt.someserver.com To test...

APACHE intranet only virtual hosts - I'm currently running 3 virtual hosts on a RH8 box with apache.. what I need to know how to do is to make a virtual host that can only be accessed from the private side of the box (box is firewall/router/gateway/webserver) any suggestions would be..

Apache 2.0 -- Trouble with Virtual hosts + SSL - I'm having a hard time making HTTPS work on a RedHat 9 server, running apache 2.0.40-21.3 I'm talking about an *actual* server (and not an exercise I'm doing on my home machine). I got a GeoTrust certificate, but there simply is no way that I can make....

Configuring Virtual Hosts on Apache with Ensim - Hi myself and friend are pretty new to all this. Basically we have one static class C IP, a server running apache, red hat, and also Ensim Hosting software. We would love to setup the server such that we can add multiple (in fact many) virtual hosts to...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]