Currently I am doing this with the config.
NameVirtualHost *
<VirtualHost *>
ServerName testsite.org
ServerAdmin webmaster@testsite.org
DocumentRoot /var/www/
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature on
</VirtualHost>
<VirtualHost *>
ServerName panel.testsite.org
ProxyPass / http://panel.testsite.org:10000/
ProxyPassReverse / http://panel.testsite.org:10000/
</VirtualHost>
This works, but now I need to use a Perl CGI on the panel.testsite.org to find the REMOTE_ADDR and its displaying the server's IP...because of this proxy workaround. What is a better way I can perform what I need without using a proxy or anything that will mess up REMOTE_ADDR