Welcome Guest, Not a member yet? Register   Sign In
system and application folders above the web root
#1

Hi

To make a long story short. My folders structure is as follows :
Quote:project
application
system
public
index.php
My .htaccess :
Code:
RewriteEngine On
RewriteCond %{THE_REQUEST} /public/([^\s?]*) [NC]
RewriteRule ^ %1 [L,NE,R=302]
RewriteRule ^((?!public/).*)$ public/$1 [L,NC]
but locally, after url taped :
Quote:localhost/project
routers method _set_request() receives as argument an array :
Quote:segments ( [0] => project )
and makes directly "project" controller's name.

What am I missing ? Is it a configuration issue or something else ?

Thx in advance for any response.
Reply


Messages In This Thread
system and application folders above the web root - by tj_gumis - 04-07-2015, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB