[support] Removing subdirectory
Earnie Boyd
earnie at users.sourceforge.net
Tue Sep 13 12:37:59 UTC 2011
Ursula Pieper wrote:
> Nancy,
>
> The following should do what you want:
>
> Redirect /cc/ http://example.com/
>
> This redirects requests like: http://example.com/cc/whatever.html to
> http://example.com/whatever.html
>
> I put these into httpd.conf. Have not tried it in .htaccess.
>
Or write a module whose purpose is to drupal_goto when arg(0) == 'cc' in
a hook_boot implementation.
--
Earnie
-- http://progw.com
-- http://www.for-my-kids.com
More information about the support
mailing list