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

[eluser]jim-_-[/eluser]
Thank you both, I was hoping for something like setting a .htaccess rule but in CI somehow (I r noob) so I wouldn't need to rewrite the the admin controller too much, also since things might change.

I'm going to read more about how to do it with .htaccess.

Edit for googlabillity: I found it was easier to do it in varnish after not finding any .htaccess script for my exact issue.

Code:
sub vcl_recv {
if (req.url ~ "admin") {
                 return (pipe);
         }
//Whatever else you need in it
}


Messages In This Thread
How can I add a port to a URL when accessing the /admin/ controller. - by El Forum - 02-01-2012, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB