ballhogjoni Posted March 24, 2013 Share Posted March 24, 2013 So i have an .htaccess file that has this in it: SetEnv APPLICATION_ENV development RewriteEngine On RewriteRule ^/path/to/app/(.*)$ /path/to/app/public/$1 [NC,L] When I go to /path/to/app/ in the browser it displays the directory structure instead of redirecting the server to /path/to/app/public/$1 What am I doing wrong? Link to comment https://forums.phpfreaks.com/topic/276095-htaccess-not-working-what-am-i-doing-wrong/ Share on other sites More sharing options...
dannyb785 Posted April 16, 2013 Share Posted April 16, 2013 Have you tried it without the / in front of path? But I don't know your folder setup so that might not be helpful Link to comment https://forums.phpfreaks.com/topic/276095-htaccess-not-working-what-am-i-doing-wrong/#findComment-1425142 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.