Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I want to redirect all the requests that come to the folder 'test' to 'test1' using apache configurations. How do i do it?

share|improve this question
add comment

1 Answer 1

Could use mod_alias to make it happen:

Alias /path/to/test /path/to/test1

Put this into your config for the website (or the config for the virtual host). If you have overrides enabled for the directory, this could be put in the .htaccess file for the root of your website.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.