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

apache/tomcat virtual domains.

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  virtual hosts apache/tomcat  
Author Message
suntacnospampl

External


Since: Sep 04, 2003
Posts: 41



(Msg. 1) Posted: Mon Sep 22, 2003 1:50 pm
Post subject: apache/tomcat virtual domains.
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: apache/tomcat virtual domains. 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Sep 22, 2003 1:50 pm
Post subject: Re: apache/tomcat virtual domains. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Johan Louwers <suntacNOSPAMPLEASE RemoveThis @dds.nl> wrote:
 > I also like to run jsp files under <a style='text-decoration: underline;' href="http://www.someserver.com" target="_blank">www.someserver.com</a> and
 > mnt.someserver.com ...

Use the JK connector and add the related configuration to your httpd.conf.
And, PLEEEEEASE, post ONE message only. Multipost is most likely to have
you in everyone kill file in no time.

Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: apache/tomcat virtual domains. 
Back to top
Login to vote
suntacnospampl

External


Since: Sep 04, 2003
Posts: 41



(Msg. 3) Posted: Mon Sep 22, 2003 7:17 pm
Post subject: Re: apache/tomcat virtual domains. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry about the posts........ we have some problems with the news
server..... it is still not open fore all the customers of the ISP we
use it now to test it Sad sorry again Sad

On 22 Sep 2003 09:01:16 GMT, Davide Bianchi
<davideyeahsure RemoveThis @onlyforfun.net> wrote:

 >Johan Louwers <suntacNOSPAMPLEASE RemoveThis @dds.nl> wrote:
  >> I also like to run jsp files under <a style='text-decoration: underline;' href="http://www.someserver.com" target="_blank">www.someserver.com</a> and
  >> mnt.someserver.com ...
 >
 >Use the JK connector and add the related configuration to your httpd.conf.
 >And, PLEEEEEASE, post ONE message only. Multipost is most likely to have
 >you in everyone kill file in no time.
 >
 >Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache/tomcat virtual domains. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
virtual hosts apache/tomcat - 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 on apache/tomcat - 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 apache/tomcat - 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/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 domains -- Help! - Hello, For some reason, Apache isn't pointing each domain to a seperate folder, this the last part of my httpd.conf: NameVirtualHost serversip <VirtualHost serversip> DocumentRoot /home/mydomain1 ServerName mydomain.org </VirtualHost> &...
   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 ]