Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a SUSE server running and it is configured allow users to login with their windows credentials. I have apache with user directories turned on. So that users could upload their sites to the public_html directory. The problem is that the URL to access their sites is:\windowsusername/

The backslash is undesirable in a URL. How can I map or rewrite the URL so that would take them to what is currently\windowsusername/ ?

share|improve this question
Details about how, exactly, you've configured your SuSE server would probably help. – womble Aug 11 '11 at 17:54

I guess something like this should do it. Not 100% sure how the backslash will behave in the replacement, may require some tweaking (turning \ into \\).

RewriteEngine on
RewriteRule ^/~([^/]*)/(.*)$ /~DOMAIN\$1/$2
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.