Problem with htaccess

Discussion in 'Apache' started by artlantis, Jan 13, 2006.

  1. #1
    Hello, i have a problem with htaccess.

    my host told me that this the problem
    "RedirectMatch permanent ^/$ http://mysite.com/mystore/"

    All subdomains redirect to http://mysite.com/mystore/

    I want to http://www.mysite.com to redirect to http://www.mysite.com/mystore/

    but also want subdomains to work. i mean http://subdomain.mysite.com/ to work without redirection.

    Hope you understand what i want.

    Thanks in advance for your help
     
    artlantis, Jan 13, 2006 IP