php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #69528
Patch vhosts revision 2015-04-29 13:26 UTC by jfha73 at gmail dot com
Patch httpd revision 2015-04-29 13:25 UTC by jfha73 at gmail dot com

Patch vhosts for mbstring related Bug #69528

Patch version 2015-04-29 13:26 UTC

Return to Bug #69528 | Download this patch
Patch Revisions:

Developer: jfha73@gmail.com

# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at 
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
    ServerAdmin techsupport@domain.com
    DocumentRoot "D:/Apache24/htdocs"
    ServerName intranet.domain.com
    ServerAlias intranet.domain.com
    ErrorLog "logs/error.log"
</VirtualHost>

<VirtualHost _default_:80>
    ServerAdmin techsupport@domain.com
    DocumentRoot "D:/Apache24/htdocs"
    ServerName intranet.domain.com
	ServerAlias intranet.domain.com
    ErrorLog "logs/error.log"
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin techsupport@domain.com
    DocumentRoot "D:/Apache24/htdocs/helpdesk"
    ServerName techsupport.domain.com
    ServerAlias techsupport.domain.com
    ErrorLog "logs/error.log"
  # Uncomment lines below to have redirect to SSL turned on
  # RewriteEngine on
  # ReWriteCond %{SERVER_PORT} !^443$
  # RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin techsupport@domain.com
    DocumentRoot "D:/Apache24/htdocs/pool"
    ServerName supportpool.domain.com
    ServerAlias supportpool.domain.com
    ErrorLog "logs/error.log"
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin techsupport@domain.com
    DocumentRoot "D:/Apache24/htdocs/sharepoint"
    ServerName sharepoint.domain.com
    ServerAlias sharepoint.domain.com
    ErrorLog "logs/error.log"
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin techsupport@domain.com
    DocumentRoot "D:/Apache24/htdocs/devcom"
    ServerName communications.domain.com
    ServerAlias communications.domain.com
    ErrorLog "logs/error.log"
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin techsupport@domain.com
    DocumentRoot "D:/Apache24/htdocs/osTicket"
    ServerName helpdesk.domain.com
    ServerAlias helpdesk.domain.com
    ErrorLog "logs/error.log"
  # Uncomment lines below to have redirect to SSL turned on
  # RewriteEngine on
  # ReWriteCond %{SERVER_PORT} !^443$
  # RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</VirtualHost>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 30 10:01:28 2024 UTC