1 |
Darko Luketic wrote: |
2 |
|
3 |
> p.s.: does anyone know of a namebased virtualhosting module or |
4 |
> similar for apache2 that doesn't require a graceful apache2 restart? |
5 |
> |
6 |
|
7 |
I've used variations on this a long time ago. It worked fairly well. |
8 |
|
9 |
http://httpd.apache.org/docs/1.3/mod/mod_vhost_alias.html |
10 |
|
11 |
For simple name-based virtual hosts you might use the following |
12 |
directives in your server configuration file: |
13 |
|
14 |
UseCanonicalName Off |
15 |
VirtualDocumentRoot /usr/local/apache/vhosts/%0 |
16 |
|
17 |
or if you'd like it all in Mysql |
18 |
|
19 |
* net-www/mod_vdbh |
20 |
Latest version available: 1.0.3-r1 |
21 |
Latest version installed: [ Not Installed ] |
22 |
Size of files: 7 kB |
23 |
Homepage: http://www.synthemesc.com/mod_vdbh/ |
24 |
Description: An Apache2 DSO for mass virtual hosting using a |
25 |
MySQL database |
26 |
License: Apache-1.1 |
27 |
|
28 |
kashani |
29 |
-- |
30 |
gentoo-server@g.o mailing list |