Welcome Guest, Not a member yet? Register   Sign In
How can I add a port to a URL when accessing the /admin/ controller.
#1

[eluser]jim-_-[/eluser]
I have a website that is cached with something called Varnish what this has done is make the Admin area very annoying to deal with as the caching disrupts login and so on, however if I add a specific port to the domain it will bypass Varnish.


What I can't figure out is how I can make CodeIgniter choose Domain.comTongueORT/admin when I go to the link Domain.com/admin, Now you say why don't you just write in TongueORT in the url you are going to, well if i do that when I press one link in the admin area the domain will be reset to Domain.com/admin/underArea . I'm gussing this should be possible to set up in routes.php , but I haven't figured it out yet.

TLBig GrinR; I want addresses under Domain.com/admin to go to the same domain but with a :port tagged onto the domain, to by pass caching.


PS: Its probably possible to but I don't want to do this in Varnish since I want all changes done in the PHP code.


Messages In This Thread
How can I add a port to a URL when accessing the /admin/ controller. - by El Forum - 01-31-2012, 12:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB