[tor-mirrors] Setting up Apache VirtualHosts

Jake Eisenman the.jungle at tehzomb.info
Sun Apr 17 04:33:29 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Awesome, it worked. Thank you!

On 4/17/2011 12:24 AM, Bryon Eldridge wrote:
> Don't specify two NameVirtualHosts. Also, don't specify the
> hostname in the VirtualHost tag (just use the *). Place the
> hostname that you want to be the default first, and Apache will use
> it for anything that doesn't match a ServerName or ServerAlias.
>
> NameVirtualHost *:80 Listen 80
>
> <IfModule mod_ssl.c> # SSL name based virtual hosts are not yet
> supported, therefore no # NameVirtualHost statement here Listen
> 443 </IfModule>
>
> <VirtualHost *:80> ServerName vps1.tehzomb.info DocumentRoot
> /var/www/tehzomb.info </VirtualHost>
>
> <VirtualHost tor.*:80> ServerAdmin the.jungle at tehzomb.info
> ServerName tor.tehzomb.info
>
> DocumentRoot /var/www/tor-mirror
>
> <Directory /var/www/tor-mirror/> Options MultiViews Indexes
> DirectoryIndex index AllowOverride None </Directory>
> </VirtualHost> _______________________________________________
> tor-mirrors mailing list tor-mirrors at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors

- -- 
Jake Eisenman - the.jungle at tehzomb.info
http://http.tehzomb.info/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iQIcBAEBAgAGBQJNqm2YAAoJENfuoNySdlsEb1wP/iQHDhpaTju7JEVNpXzxgRCl
sG9bfUUZqVJsGW/+DHtRBeUIBou65PxHsnUUhd2TSHaDPEvqRFY5hzLX2DPU+KwD
Is/6Mjng+7fwcGJ1nvEw67frFMsLD5ZI8Pfv9u0BR93RyO8PuTBWAC1iMOibMIsv
3bnJK7DNVLkzzyd/cFzSmI9h3lz5iJS7sMFjxNBtwl0POySSEfHT9uqScdDHSNf/
OU/Cqn5zV3Cmkm6ZIP6RJsOXKamks8boFZ5X8KsJMBtSesXzRGBYbpquX8vZBpmP
IFqupMVV8w/Sx0dctE+YlkHr3IGT5ruDsdIIJOPFtnrIlfL50RkGg7l6JUK4w599
tS81PzYYkQR9ZGzBGZy8yP+gifwM5XfgnUrAAuJaP7D8jj5jI8JvJ+85UXnuQS1s
vEc58KS80G0Jay2GWeyB7ylRvgJYKuBjFYjcIyocxIl18pUEvGfaLcoIagTQCoEH
lo7LSOgOK09chXvxMRAJiArTzRpNyUtMyxa8Oj4PnysY63M1LY7t0jPyRdhzsUEx
hhCimq8ZevI0R66PejIuck7lV7uP/Wajv8JFkYmr0Z8YeuRAgQBgwNYGxRxxM2GV
dq9cx+hjPMRBrlttMk4vMNJKNr1HyR+/EoPQvzLlZtBgyj6lYMMPbmeFEIk0Xbef
7FA0yDBwXI/v08Dm7mLm
=qIzr
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-mirrors/attachments/20110417/9881985c/attachment.htm>


More information about the tor-mirrors mailing list