Jump to content

.htaccess not working, what am I doing wrong?


ballhogjoni

Recommended Posts

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?
  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.