httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Foreman" <>
Subject [users@httpd] ~users in a domain (again)
Date Thu, 03 Apr 2003 14:05:43 GMT
When I login to my XP system as "foreman" on the "wtsn" domain, (this is
the name that appears in my login panel on my XP system) XP uses a profile
named "foreman.WTSN".  My userid is then considered to be "foreman.WTSN",
not just "foreman".

I would like users of my website to be able to access my web directory,
which is NOT the directory in:
 DocumentRoot "C:/Documents and Settings/webroot"
without having to append the ".WTSN".  They should not have to know my
internal domain name.

My personal web directory is actually in
 "C:/Documents and Settings/foreman.WTSN/public_html"

so I have added:
 <Directory "C:/Documents and Settings/*/public_html">
but that doesn't allow for the WTSN and since "foreman" is not the ID.

I may have to add other ID's which will also have the same problem.

I received a hint from the Apache list that mod_rewrite might help me
transform requests for the user directory ~foreman into ~foreman.wtsn, so I
added the following rewrite rule:
 rewriterule ^/~([^/]+)/?(.*)     /~$1.WTSN   [PT]

when I did this, Apache did not recognize foreman.WTSN as a userid and the
resulting URL became:
 "c:/documents and settings/webroot/~foreman.WTSN" which doesn't exist.

Can anyone offer some additional suggestions as to how I might accomplish
this translation?

D. J. Foreman, Ph. D.
website: http://WWW.CS.Binghamton.EDU/~foreman

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message