httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miroslav Šulc <miroslav.s...@startnet.cz>
Subject Re: [users@httpd] Only the first vhost defined comes up
Date Mon, 19 Jan 2004 14:22:30 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think you should add this at the beginning of your virtuals:

NameVirtualHost 66.31.37.63:8080
NameVirtualHost 66.31.37.63:8085
NameVirtualHost 66.31.37.63:8090

- -- 
Miroslav Šulc, CEO
StartNet s.r.o.
- ----------------------------------------
ICQ: 60144073
web: http://www.startnet.cz/
- ----------------------------------------
mobil: +420 603 711 413
telefon: +420 257 225 602
fax: +420 257 225 592
- ----------------------------------------

On Monday 19 of January 2004 15:16, jeffrey_n_Dyke@Keane.com wrote:
> I'm running RH8 on i386 with Apache 2.0.48/PHP4.3.4. I've tried mutiple
> ways of configuring my virutual hosts, both Name based and IP
> based/changing port numbers/adding-subtracting # of virtuals and the
> reccuring theme is that only the first one will start and respond to a
> webbrowser when i run ./httpd -k restart or (stop then start).  If i change
> the order, then the host defined first will start, but the other two will
> not.  This server does not Listen at all on Port 80.  Nothing is logged in
> any defined log file and starting with -e debug, gives no further hints.
>
> I've set up about 30 Apaches in the past and NEVER had a problem with
> virtuals.  The same thing was happing to me on 1.3.29
>
> If i run /usr/local/apache2/bin/httpd -S.  Apache reports all the virtuals
> as defined in httpd.conf
> 66.31.37.63:8080       theimages.org
> (/usr/local/apache2/conf/httpd.conf:1056)
> 66.31.37.63:8085       sk.theimages.org
> (/usr/local/apache2/conf/httpd.conf:1063)
> 66.31.37.63:8090       jd.theimages.org
> (/usr/local/apache2/conf/httpd.conf:1071)
>
>
> Listen 8080
> Listen 8085
> Listen 8090
>
>
> Here is the vhost definitions that go along with this.
>
> <VirtualHost 66.31.37.63:8080>
>     ServerAdmin user@mailbox.domain
>     DocumentRoot /www/dev/htdocs
>     ServerName theimages.org
>     ErrorLog /www/dev/logs/error_log
>     CustomLog /www/dev/logs/access_log combined
> </VirtualHost>
> <VirtualHost 66.31.37.63:8085>
>     ServerAdmin user@mailbox.domain
>     DocumentRoot /www/dev/sk/htdocs
>     ServerName sk.theimages.org
>     ErrorLog /www/dev/sk/logs/error_log
>     CustomLog /www/dev/sk/logs/access_log combined
> </VirtualHost>
>
> <VirtualHost 66.31.37.63:8090>
>     ServerAdmin user@mailbox.domain
>     DocumentRoot /www/dev/jd/htdocs
>     ServerName jd.theimages.org
>     ErrorLog /www/dev/jd/logs/error_log
>     CustomLog /www/dev/jd/logs/access_log combined
> </VirtualHost>
>
> Any assistance is greatly appreciated.
> JEff
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAC+gnikB+ev/lHawRAh6AAJ4xarP0RnW/rmYRCacCCkbkMl14VACgiR5e
8RH60QGbp54cvvhyf35Pxek=
=tPC5
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message