Welcome Guest, Not a member yet? Register   Sign In
How to use ~folders?
#1

[eluser]Mareshal[/eluser]
How can I create and use ~folders?

I want to access admin panel with this: domain.com/~admin
#2

[eluser]bretticus[/eluser]
Those are apache user folders via mod_userdir. Not really related to codeigniter. You might try actually setting up a route in system/application/config/routes.php but ~ is probably not an allowed character.
#3

[eluser]Mareshal[/eluser]
I tought is something I can do via ci or htaccess. thanks
#4

[eluser]bretticus[/eluser]
You made a fast response to my response. I wasn't quite done. I have updated my post.
#5

[eluser]Mareshal[/eluser]
offtopic: I have gmail notifier installed on my firefox, with updatins set to 1 minute Wink

let me try that

edit: thank a million, works now. I have a very strict list of premitted uri chars: $config['permitted_uri_chars'] = 'a-z0-9~-';

$route['~subscribe'] = "newsletter/subscribe"; and works Smile
#6

[eluser]bretticus[/eluser]
Awesome!




Theme © iAndrew 2016 - Forum software by © MyBB