Posted By

benjaminpearson on 02/08/11


Tagged

htaccess


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

enkas
jbyerson


.htaccess redirect to subfolder (ie, public folder)


 / Published in: Apache
 

URL: http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html

  1. RewriteEngine on
  2. RewriteCond %{REQUEST_URI} !^/public/
  3. RewriteRule (.*) /public/$1

Report this snippet  

You need to login to post a comment.