• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI in apache userdirs (domain.com/~user/public/ci)

I tried looking at what the Request object was providing to the router. I added this to the top of Router.php:

PHP Code:
$request = \Config\Services::request();
$uri $request->uri;
echo (string)

The result was domain.com/~kaimartin/hiperplanner/~kaimartin/hiperplanner

So even though the url in the browser looks right, the trailing segments are being duplicated somewhere by the request class?
I removed the RewriteBase directive from all the .htaccess files with no effect.


Messages In This Thread
RE: CI in apache userdirs (domain.com/~user/public/ci) - by evansharp - 03-22-2021, 10:16 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.