Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Here is the scenario:
in test_folder I am trying to write a .htaccess file.
The purpose of the file would be redirecting all request to to test_folder/public/*
This is what I tried:
RewriteEngine on
RewriteRule /test_folder/.* /test_folder/public/$1

Written rewriterule is not working. Not forwarding as I am expecting.
Little help would be appreciated.
Updated 2-Jun-14 15:31pm
Sergey Alexandrovich Kryukov 2-Jun-14 21:04pm    
Not a question. Any particular problem?
Mohibur Rashid 2-Jun-14 21:30pm    
Uhh, I forgot to add, that this rewrite rule is not working.

It's not clear what kind of help would you expect. Everything is explained here:[^],[^].

Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900