Redirect condition in httpd centos 7 server

Hi All

Please help me in writing the redirect condition as this,
i need to redirect www.mysite.com/<any_content> to www.mysite.com.
www.mysite.com/test to www.mysite.com.
i need to redirect www.mysite.com/<any_content> to www.mysite.com.
www.mysite.com/test to www.mysite.com.

pls suggest me to how can do this?