I have a redirect setup at a domain level where I forward traffic from www.crmpicco.co.uk to www.crmpicco.com.
I have re-encountered an issue where I can not browse to www.crmpicco.co.uk/ibrox and have that forwarded to www.crmpicco.com/ibrox.
This is the entry from my VHosts - is there anything wrong with it and is there anywhere else that I need to check the setup to ensure Apache is configured to handle the forwarding?
I have had confirmation from the people maintaining the domain that they don't deal with anything after the first /.
PHP Code:
<VirtualHost 172.26.x.x:80>
DocumentRoot "/var/www/vhosts/live_crmpicco/"
ServerName www.crmpicco.com
ServerAlias crmpicco.com
ServerAlias mobile.crmpicco.com
ServerAlias www.crmpicco.co.uk
ServerAlias crmpicco.co.uk
ErrorLog logs/www.crmpicco.com_error_log
CustomLog logs/www.crmpicco.com_access_log combined
LogLevel warn
<Directory "/var/www/vhosts/live_crmpicco/cgi-bin">
AllowOverride All
Options ExecCGI
AddHandler cgi-script .cgi .pl
</Directory>
<Directory "/var/www/vhosts/live_crmpicco/">
AllowOverride All
allow from all
Options -Indexes
</Directory>
</VirtualHost>
Cheers,
Picco