CodeIgniter Forums
help with hmvc routing - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: help with hmvc routing (/showthread.php?tid=46793)



help with hmvc routing - El Forum - 11-15-2011

[eluser]bill19[/eluser]
Hi everyone,

I am experimenting by following http://net.tutsplus.com/tutorials/php/hvmc-an-introduction-and-application

I've got it working up to the login screen. my development system runs on wamp and to get it to run correctly I have port 8888 inserted into the url like this:

http://localhost:8888/hmvcExample/index.php/login/signup.

as opposed to:

http://localhost/hmvcExample/index.php/login/signup

The problem is that when I use the apps internal navigation it defaults to the latter:

http://localhost/hmvcExample/index.php/login/signup - generating a Unable to connect error.

I have set

$config['base_url'] = 'http://localhost:8888/hmvcExample/';

to no avail.

Does anyone know how to include the 8888 port automatically within the url?

Thanks in advance,

Bill