You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by 黄叶 <hy...@gmail.com> on 2007/03/02 03:26:41 UTC

[users@httpd] when use mod_vhost_alias , I can use mod_rewrite in .htaccess?

HI, guys.

when I do not use the mod_vhost_alias, I can write the modrewrite in
.htaccess in some directory, it is work.

but when I use mod_vhost_alias for a virtual host,  I write the modrewrite
command in file .htaccess, it is does't work.

who can help me ?

thanks.

Mike.G

Re: [users@httpd] when use mod_vhost_alias , I can use mod_rewrite in .htaccess?

Posted by 黄叶 <hy...@gmail.com>.
hi,

I am use mod_vhost_alias  for a virtual hosting system,

example:
I use mod_vhost_alis point to one direcotry as a web site data directory.

every web stie will put in this directory. and if a user want to use
mod_rewrite for forward some url to the location

so I think may be use can write the .htaccess file in his web site home
directory,   just: write mod_rewriete configure in
.htaccess,

but I found this does not work.


thanks

MIke.G

Re: [users@httpd] when use mod_vhost_alias , I can use mod_rewrite in .htaccess?

Posted by Vincent Bray <no...@gmail.com>.
On 02/03/07, 黄叶 <hy...@gmail.com> wrote:
> HI, guys.
>
> when I do not use the mod_vhost_alias, I can write the modrewrite in
> .htaccess in some directory, it is work.
>
> but when I use mod_vhost_alias for a virtual host,  I write the modrewrite
> command in file .htaccess, it is does't work.

You need to provide more details. What's in your htaccess file and how
exactly isn't it working?

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org