I need to set-up different ports to be redirected to different directories on a client's server running Centos 5.5 and Apache2.
What I need to achieve is the following.
www.mysite.com:80
Goes to the normal users directory /var/www/html/normal
but
www.mysite.com:8080
Goes to a private admin directory /var/www/html/admin
I had no problem doing this on my own Ubuntu server using <VirtualHost>, but I can't find which file to put the <VirtualHost> in on Centos?
Or is there a better way of achieving the same result?
The ports bit is the way my client wants it to work, so I have no choice there.