This is a discussion on virtual name domains within the Apache Web Server forums, part of the Web Server and Related Forums category; what should a good virtual name config like? how about ftp config for the virtual domains? is it worth setting ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Davide Bianchi wrote:
> On 2005-01-30, sandman <sandman@nospam.mrsandman.net> wrote: > >>what should a good virtual name config like? > > > Like the default/example one but with real names. > Davide > ok, how about an example of a config that would provide the best results for the admin and the client. such as log files. heres and example of my current, i am looking for suggestions to improve. NameVirtualHost 192.168.0.100 <VirtualHost 192.168.0.100> DocumentRoot "/home/foo/domains/foo.net" ServerName foo.net <Directory "/home/foo/domains/foo.net"> allow from all Options +Indexes </Directory> </VirtualHost> <VirtualHost 192.168.0.100> DocumentRoot "/home/foo/domains/foo1.net" ServerName foo1.net <Directory "/home/foo/domains/foo1.net"> allow from all Options +Indexes </Directory> </VirtualHost> |