Welcome Guest, Not a member yet? Register   Sign In
call form_open() with action outside webroot
#1

[eluser]Unknown[/eluser]
I have my apps outside webroot.

config:
$config['base_url'] = "http://localhost/cart/";

index:
$system_path = '/wamp/CodeIgniter/system';
$application_folder = '/wamp/CodeIgniter/application/cart';

When i run form_open('shop/add')

i get this url: http://localhost/cart/shop/add
and the 404 error.

How to find and run ok the controller 'shop' and the function 'add' if they are outside of webroot using form_open()?

Can you help me please.
#2

[eluser]Unknown[/eluser]
SOLVED: I assigned index.php to index_page in config, php.




Theme © iAndrew 2016 - Forum software by © MyBB