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

Name based virtual host issues

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  tomcat as SSL front-end for another service?  
Author Message
lordpuma

External


Since: Aug 03, 2003
Posts: 5



(Msg. 1) Posted: Sun Aug 03, 2003 11:06 pm
Post subject: Name based virtual host issues
Archived from groups: alt>apache>configuration (more info?)

I am brand new to apache(v2) and am having an issue setting up name
based virtual hosting. I wish to quit using IIS and move to apache.

the details are as follows
local machine name: TPP
Domain 1: thepumas.net
domain 2: galadrielle.org
domain 3: mynight.net
Port 8080 (IIS5 currently has 80)
site name 1: tpp.thepumas.net(this conflicts with the default site but
does give me the correct site.
site 2: inner_strength.thepumas.net

excerpts from conf file
AcceptPathInfo Off

<VirtualHost * >
ServerAdmin webmaster.DeleteThis@thepumas.net
DocumentRoot d:/pumaspalace
ServerName tpp.thepumas.net
ErrorLog logs/tpp-error_log
CustomLog logs/tpp-access_log combined
</VirtualHost>
<VirtualHost * >
ServerAdmin webmaster.DeleteThis@thepumas.net
DocumentRoot d:/inner_strength
ServerName inner_strength.thepumas.net
ErrorLog logs/iss-error_log
CustomLog logs/iss-access_log combined
</VirtualHost>

I will post the entire conf file if requested or we could take it to email.

Many thanks in advance
Jon

 >> Stay informed about: Name based virtual host issues 
Back to top
Login to vote
nospam173

External


Since: Jul 02, 2003
Posts: 52



(Msg. 2) Posted: Sun Aug 03, 2003 11:33 pm
Post subject: Re: Name based virtual host issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 03 Aug 2003 20:06:09 GMT, Jon Phipps <lordpuma DeleteThis @hotmail.com>
wrote:

 >I am brand new to apache(v2) and am having an issue setting up name
 >based virtual hosting. I wish to quit using IIS and move to apache.
 >
 >the details are as follows
 >local machine name: TPP
 >Domain 1: thepumas.net
 >domain 2: galadrielle.org
 >domain 3: mynight.net
 >Port 8080 (IIS5 currently has 80)
 >site name 1: tpp.thepumas.net(this conflicts with the default site but
 >does give me the correct site.
 >site 2: inner_strength.thepumas.net
 >
 >excerpts from conf file
 >AcceptPathInfo Off
 >
 ><VirtualHost * >
 > ServerAdmin webmaster DeleteThis @thepumas.net
 > DocumentRoot d:/pumaspalace
 > ServerName tpp.thepumas.net
 > ErrorLog logs/tpp-error_log
 > CustomLog logs/tpp-access_log combined
 ></VirtualHost>
 ><VirtualHost * >
 > ServerAdmin webmaster DeleteThis @thepumas.net
 > DocumentRoot d:/inner_strength
 > ServerName inner_strength.thepumas.net
 > ErrorLog logs/iss-error_log
 > CustomLog logs/iss-access_log combined
 ></VirtualHost>
 >
 >I will post the entire conf file if requested or we could take it to email.
 >
 >Many thanks in advance
 >Jon

NameVirtualHost *

<VirtualHost *:8080> for both VHs

Or include the IP address instead of the wildcard (*).

Also, try including ServerAlias
ServerName inner_strength.thepumas.net
ServerAlias inner_strength.thepumas.net
ErrorLog logs/iss-error_log
....
ServerName tpp.thepumas.net
ServerAlias tpp.thepumas.net
ErrorLog logs/tpp-error_log

See also <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/vhosts/" target="_blank">http://httpd.apache.org/docs-2.0/vhosts/</a>
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/vhosts/name-based.html" target="_blank">http://httpd.apache.org/docs-2.0/vhosts/name-based.html</a>
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/vhosts/examples.html" target="_blank">http://httpd.apache.org/docs-2.0/vhosts/examples.html</a>

HTH
TOG
--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

"If you're not thoroughly confused by now, then you just
don't understand the situation."<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Name based virtual host issues 
Back to top
Login to vote
admin34

External


Since: Jul 01, 2003
Posts: 47



(Msg. 3) Posted: Mon Aug 04, 2003 12:35 am
Post subject: Re: Name based virtual host issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jon Phipps" <lordpuma.TakeThisOut@hotmail.com> wrote in message
news:RWdXa.630070$Vi5.15194588@news1.calgary.shaw.ca...
 > I am brand new to apache(v2) and am having an issue setting up name
 > based virtual hosting. I wish to quit using IIS and move to apache.
 >
 > excerpts from conf file
you need the following
NameVirtualHost 12.34.56.78

replaceing the IP address with your servers IP
and then replace as below
 > <VirtualHost tpp.thepumas.net:80 >
 > ServerAdmin webmaster.TakeThisOut@thepumas.net
 > DocumentRoot d:/pumaspalace
 > ServerName tpp.thepumas.net
 > ErrorLog logs/tpp-error_log
 > CustomLog logs/tpp-access_log combined
 > </VirtualHost>
 > <VirtualHost inner_strength.thepumas.net:80 >
 > ServerAdmin webmaster.TakeThisOut@thepumas.net
 > DocumentRoot d:/inner_strength
 > ServerName inner_strength.thepumas.net
 > ErrorLog logs/iss-error_log
 > CustomLog logs/iss-access_log combined
 > </VirtualHost>
 >
I have many virtual hosts and mine are as follows

<VirtualHost host.dfsl.co.uk:80>
ServerName host.dfsl.co.uk
DocumentRoot /usr/local/httpd/htdocs/
ErrorLog logs/hostdfsl.com-error.log
CustomLog logs/hostdfsl.com-access_log common
</VirtualHost>

<VirtualHost <a style='text-decoration: underline;' href="http://www.ndmdc.com:80" target="_blank">www.ndmdc.com:80</a>>
ServerName <a style='text-decoration: underline;' href="http://www.ndmdc.com" target="_blank">www.ndmdc.com</a>
ProxyPass / <a style='text-decoration: underline;' href="http://10.69.70.2:80/ndmdc/" target="_blank">http://10.69.70.2:80/ndmdc/</a>
ProxyPassReverse / <a style='text-decoration: underline;' href="http://10.69.70.2:80/ndmdc/" target="_blank">http://10.69.70.2:80/ndmdc/</a>
ErrorLog logs/ndmdc.com-error.log
CustomLog logs/ndmdc.com-access_log common
</VirtualHost>
The second one above is actually on an IIS server within my internal network

Mike.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Name based virtual host issues 
Back to top
Login to vote
lordpuma

External


Since: Aug 03, 2003
Posts: 5



(Msg. 4) Posted: Mon Aug 04, 2003 12:52 am
Post subject: Re: Name based virtual host issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Michael, this worked wonderfully. Now if I can just persuade the
shockwave to show up and some of the larger images(site title images) to
load. The larger shockwaves either load slowly or time out, and some of
the images load 2/3 to 3/4 then blank where the rest of the image should be.

Jon
 >> Stay informed about: Name based virtual host issues 
Back to top
Login to vote
admin34

External


Since: Jul 01, 2003
Posts: 47



(Msg. 5) Posted: Mon Aug 04, 2003 2:15 am
Post subject: Re: Name based virtual host issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jon Phipps" <lordpuma RemoveThis @hotmail.com> wrote in message
news:8ufXa.603681$ro6.13261885@news2.calgary.shaw.ca...
 > Thanks Michael, this worked wonderfully. Now if I can just persuade the
 > shockwave to show up and some of the larger images(site title images) to
 > load. The larger shockwaves either load slowly or time out, and some of
 > the images load 2/3 to 3/4 then blank where the rest of the image should
be.

I don't know how to help you there - I was using small Flash buttons - but
none of them would load - strange.... They would load local but Apache for
some reason was not letting them load, maybe someone knows what has to be
done to get flash to work served by an Apache server?

Mike.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Name based virtual host issues 
Back to top
Login to vote
lordpuma

External


Since: Aug 03, 2003
Posts: 5



(Msg. 6) Posted: Mon Aug 04, 2003 2:38 am
Post subject: Re: Name based virtual host issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I did some digging on the net for this, after I posted my request. If
you still need to do this change the line in your mime.conf to read

application/x-shockwave-flash swf cab

put this in and wow load like you would not beleive

Jon
 >> Stay informed about: Name based virtual host issues 
Back to top
Login to vote
no_mail

External


Since: Jul 15, 2003
Posts: 26



(Msg. 7) Posted: Tue Aug 05, 2003 1:59 am
Post subject: Re: Name based virtual host issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jon Phipps wrote...
 > I did some digging on the net for this, after I posted my request. If
 > you still need to do this change the line in your mime.conf to read
 >
 > application/x-shockwave-flash swf cab
 >
 > put this in and wow load like you would not beleive
 >
 > Jon
 >
 >
I won't believe it. I learnt Flash 4 when it came out because of the
hype. The first thing I did after learning it, was to delete it. Flash
is useless icing on websites that contributes nothing but slow loading
pages. Being a Mozilla user, I do not have the plugin installed by
default. And I can tell you, the web looks much better without flash:)<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Name based virtual host issues 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Accessing name-based virtual server pages on the LAN - OK, this isn't really a config question. Go easy, I'm new here! I have a couple of name-based virtual servers set up, Apache 2.0 on Red Hat 8.0. The Linux machine sits behind a DSL router, along with a WinXP machine. I've got dynamic ip set up. ..

Virtual Host From PS? - Ok.. so I am running a server with a bunch of virtual hosts.. Someone on one of them is running a PHP script or CGI thats causing problems and im getting huge load spikes and sometimes even crashing the entire server requiring a hard reboot to fix it.. ...

automatic Virtual Host - Hello, on my dedicaced server, I would like that : the domain multinetworks.net is accessible in /home/multinetworks.net and that all sub-domaines are also accesible : I mean : When someone type : http://www.CrazyNetwork.net/ it take the files in : ..

Virtual Host - Bad Request - ==> One IP, may hostnames. (name based virtual host) When I set the IP address of the virtual hosts explicitly they work fine: -------part of conf file-------- NameVirtualHost 65.94.21.150 <VirtualHost 65.94.21.150> ServerAdmin webmaster@ha...

IP/Hostname Virtual Host - Hello, Is there a way I can create a virtual host based on a DYNAMIC IP and hostname? In other words, I want to redirect people who connect to my site with my IP address (e.g. http://62.252.64.3) or its hostname (e.g. http://a553e3.25sv543ca.myisp.com)....
   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 ]