[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Is it possible?



> is it possible to change the httpd.conf in that way, that the directories
of
> different users (e.g. www.domain.com/users/user1/dir) is reachable by
> www.domain.com/dir?

You could probably do this using Redirect or mod_rewrite server directives
in your httpd.conf or .htaccess files, eg in the .htaccess in your web root
use

Redirect  /dir /users/user1/dir

or

RewriteRule ^/dir$ http://www.domain.com/users/user1/dir

or something similar (I'm not certain on the syntax since mod_rewrite
doesn't seem to be installed on my server)

see also http://www.apache.org/docs-1.2/mod/mod_alias.html#redirect and
http://www.apache.org/docs-1.2/mod/mod_rewrite.html