PDA

View Full Version : Help With Rewriting



bradk
11-02-2009, 12:11 PM
Hi Folks - Hope you can point me in the right direction.

I've made a TYPO3 (CMS) installation in the main public_html folder of the primary site (say, abc.com/typo3) which I'd like to use for one of my addon domains (say, xyz.com). I've got the redirection working from xyz.com to abc.com/typo3, but I want to show the redirected URLs as being 'xyz.com', not abc.com. I suspect this has to do with the .htaccess file and the RewriteBase directive, but the syntax loses me. If someone could get me started, I'd really appreciate it!

Also, which folder would the .htaccess file go in to make this work?

Thank you!

EricJ
11-02-2009, 02:16 PM
There is a lot easier way to do this than a domain masking redirect. Last time I checked domain masking required some wild card DNS which bluehost does not support, so you may be out of luck in that area.

IF I were in your shoes, here is what I would do.

1. Unassign xyz.com.
2. Assign xyz.com. On step 4 of the assignment page choose the Typo3 folder.

Now xyz.com will just naturally point to the typo3 folder without having to get caught up in redirection and masking. The best part is it'll still display as xyz.com.

bradk
11-02-2009, 04:20 PM
EricJ - Worked like a charm! You saved me untold grief there! Thank you so much!