Redirect all requests to a subdirectory

Posted by Karl Keefer on Stack Overflow See other posts from Stack Overflow or by Karl Keefer
Published on 2010-05-27T20:50:03Z Indexed on 2010/05/27 20:51 UTC
Read the original article Hit count: 277

Filed under:
|
|
|

I have a drupal site install at example.com/drupal but now that the site is built I want to forward all requests to that directory, without it ever showing "drupal" in url.

I think this can be done with .htaccess, but I didn't know if that was a hack-y answer. I'm using mediatemple's GridServer so I don't have complete control over apache settings and stuff, although I do have SSH.

© Stack Overflow or respective owner

Related posts about apache

Related posts about .htaccess