using mod_status with multiple Virtual Hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have 2 virtual IP based hosts running in httpd 2.2.

I have two virtual hosts
Brightside

<VirtualHost 192.168.1.1:443>
 # General
 ServerAdmin admin@myhost
 DocumentRoot /usr/local/apache2/htdocs
 ServerName brightside.mydomain
 ServerAlias brightside.mydomain 
 # Logging
 ErrorLog logs/brightside.com-error_log
 CustomLog logs/ brightside.com-access_log common
# Make sure mod_rewrite is on, this is ok even if it is already on higher up in the hierarchy.
RewriteEngine On
RewriteLogLevel 9
RewriteLog logs/rewrite.log
RewriteCond %{REQUEST_URI} !^/joomla/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /brightside/$1 [L]
RewriteRule ^(/)?$ /brightside/index.php [L]
</VirtualHost>

Darkside
<VirtualHost 192.168.1.2:443>
 # General
 ServerAdmin admin@myhost
 DocumentRoot /usr/local/apache2/htdocs
 ServerName darkside.mydomain
 ServerAlias darkside.mydomain 
 # Logging
 ErrorLog logs/darkside.com-error_log
 CustomLog logs/darkside.com-access_log common
# Make sure mod_rewrite is on, this is ok even if it is already on higher up in the hierarchy.
RewriteEngine On
RewriteLogLevel 9
RewriteLog logs/rewrite.log
RewriteCond %{REQUEST_URI} !^/joomla/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /darkside/$1 [L]
RewriteRule ^(/)?$ /darkside/index.php [L]
</VirtualHost>

Is it possible to enable the mod-status, as an overall (combined stats from both virtual hosts)?

Any help would be greatly appreciated

Thanks
--
Mitchell

The information contained in this email (and any attachments) is confidential and may be privileged. If you are not the intended recipient
and have received this email in error, please notify the sender immediately by reply email and delete the message and any attachments.
If you are not the named addressee, you must not copy, disclose, forward or otherwise use the information contained in this email.
Cable & Wireless Communications Plc and its affiliates reserve the right to monitor all email communications through their networks to
ensure regulatory compliance.
 
Cable & Wireless Communications Plc is a company registered in England & Wales with number:
07130199 and offices located at 3rd Floor, 26 Red Lion Square, London WC1R 4HQ





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux