1

I am using Apache 2.4 on RHEL8 to give users there own web pages. Right now the URL looks like example.com/~username. Is there a way to setup Apache and mod_userdir so that the ~ is not used? I'd like for the URLs to look like example.com/username

Thank you,

Mike

1 Answer 1

1

No, but you can roll your own:

AliasMatch ^/(user1|...|usern)(/.*|$) /home/$1$2 

See AliasMatch. If that doesn't meet your needs, you can do it more flexibly with mod_rewrite.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.