I have centos7 dedi with latest whm/cpanel install I've enabled access to user dirs without domains example http://ip/~user but my target is to be http://ip/user
Now my question would be is it possible to remove ~ and how...? Googled a lot and read a lot but didn't found answer...
You might try this:
Warning: the above will rewrite every url to ~url regardless of if the user exists, so if you go to
http://IP/exampleurl
it will rewrite that tohttp://IP/~exampleurl
, It only checks if a file or a directory exists there.