[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Replacing /~user with /user
- Subject: RE: [cobalt-developers] Replacing /~user with /user
- From: "Ian McCabe" <idmccabe@xxxxxxxxxxxxxxxx>
- Date: Tue Jan 15 04:04:01 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
--> You must set the path in /home/sites/site17/.... to your path for that
--> virtual host in the httpd.conf. and you must use ^/users/
-->
--> The right AliasMatch to add to your site will be then
-->
--> AliasMatch ^/users/([^/]+)(/(.*))?
--> /home/sites/set_your_site_number_dir_here/users/$1/web/$3
Please correct me if I am wrong, but by adding the /users bit, doesnt that
add users before the username, i.e. create the method of:
www.domain.com/users/username, instead of www.domain.com/~username.
What I am after achieveing is: www.domain.com/username thus without the ~
bit.
On attempting the one shown above it rendered a server wide error and when
trying this:
AliasMatch ^/([^/]+)(/(.*))? /home/sites/site17/users/$1/web/$3. it stopped
the page from being served correctly.
It seems that this is not as easy as some have made out, or I have totally
mucked up from the many differing methods explained to me....
Ian