httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dermot <paik...@googlemail.com>
Subject [users@httpd] vhosts on 1.3.28
Date Fri, 21 Nov 2008 17:31:52 GMT
Hi,

I have recently inherited a system that uses 2 httpd binaries. One
listens on port 80, the other (on port81) is a modperl enabled binary
whereby, with the power of some rewritting from the port 80 listener,
stuff ends up on port 81.

I had to create a second vhost for the modperl binary to listen on
port 8181. The approach I took was to use name-based vhosts. I
followed the examples at
http://httpd.apache.org/docs/1.3/vhosts/name-based.html

My issue is that I am have had to enable specific clients with Allow
statements and I am not sure that's approach is goig to be practical.

My current config uses

NameVirtualHost *

<VirtualHost *>
  ServerName ....

Can I use a port based system? So

NameVirtualHost *:81
<VirtualHost *:81>
  ServerName ...


I thought I'd seen something like that on this list. Is that possible
with 1.3.24? My thinking is that perhaps with this method the client
will the localhost and I can just Allow 127.0.0.1 rather than having
to extend the allow statements the service grows.

 Does my approach seem sound or would there be a better way?

TIA,
Dp.

---------------------------------------------------------------------
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