Hey,
Here's a way that should work to get it to work with ALL domains on the server:
(This is on RH9)
1.) Create a "/var/www/html/login" directory
2.) Create an index.php file in that directory with the following:
<?php
header("Location:
http://server_hostname_here:2222");
?>
Note: Use https above if needed.
3.) In "/etc/httpd/conf/httpd.conf" change:
(Note: These changes are made in the VirtualHost container that says: "#The default site for the server.")
DocumentRoot /var/www/html
to
DocumentRoot /var/www/html/login
and then add this line:
ServerAlias login.*
4.) Create a DNS entry for "login" for the apropriate domain.
Now, you should be able to browse to:
http://login.customer_domain_here.com
and get the DA login page.
Of course, backup your httpd.conf file first.
David