I'm looking for some help with my .htaccess file.
In short, I have a bunch of content up in the subdirectory www.myserver.com/forum/
(this directory is not my choice and cannot be changed), which includes both a forum (myserver.com/forum/forum
) and a wiki (myserver.com/forum/wiki
) and this is abviously not an ideal layout. I do not own myserver.com and there is content there that is not mine, though I have full access to the entire server.
I also have a domain name www.mydomain.com
, which I want to redirect and mask such that if a user goes to mydomain.com/<something>
they will be shown the content from myserver.com/forum/<something>
while still being shown mydomain.com/<something>
in the address bar.
One other thing I'd like to see, although it isn't vital, would by for a 404 generated by someone typing in mydomain.com/somethingThatDoesNotExist
should redirect to mydomain.com/404.php
instead of myserver.com's default 404.
I've tried a number of different approaches and searched extensively for the past day or so online - I'm sure that the answer is even here on SO somewhere, but all of the guides/examples I've tried have not worked and I feel like I'm going in circles.
Many thanks in advance.
EDIT: And I do know for sure that .htaceess is enabled.