TJ111
09-17-2007, 10:50 AM
I recently migrated VPS hosting accounts from a Virtuozzo/Plesk based one to a WHM/cPanel one. Everything went pretty smooth, except for the issue of domain parking. I have 3 domains pointing to the same website, and in Plesk created Aliases of eachother, and this pointed to the same site but retained the user-entered domain in the address bar.
Now in cPanel I parked the domains on top of eachother, and all the top-level pages (not in subdirectories) work fine (returns 200-OK). However when an employee goes to login, it gives a 304 Found for the login script, but when the login script uses a header redirect to direct them to the correct page, it returns a 301 moved permanently status code. This then redirects them to the main domain name's logged in page, where they fail the user validation and get kicked back to the login page.
I've spent 2 days digging through httpd.conf and google trying to figure out what's causing this and how to fix it, but to so far no avail.
Now in cPanel I parked the domains on top of eachother, and all the top-level pages (not in subdirectories) work fine (returns 200-OK). However when an employee goes to login, it gives a 304 Found for the login script, but when the login script uses a header redirect to direct them to the correct page, it returns a 301 moved permanently status code. This then redirects them to the main domain name's logged in page, where they fail the user validation and get kicked back to the login page.
I've spent 2 days digging through httpd.conf and google trying to figure out what's causing this and how to fix it, but to so far no avail.