[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [cobalt-developers] Replacing /~user with /user
- Subject: AW: [cobalt-developers] Replacing /~user with /user
- From: "CMO - Thorsten Mitschele" <mitschele@xxxxxx>
- Date: Tue Jan 15 00:29:00 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site17/users/$1/web/$3
> AliasMatch ^/([^/]+)(/(.*))? /home/sites/site17/users/$1/web/$3.
>
> Unfortunately the ^/users rendered the server offline after reboot and
> the second one turned the main site into a free for all listing of its
> content, but no
> proper viewing of any files.
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