That looks about right. The only reason (that I can think of) for using
.htaccess files is if you want to devolve control of a virtualhost to the
person who has write access to the documentroot (where you'd normally store
the .htaccess file, thought they can also be used in subdirectories as
well).
I'll preface this with I'm not an expert but why not just put whatever you have
in the htaccess file in your Directory section. Everything is in one place.
I don't think you need to modify httpd.conf.
If it works it's probably good.
Alain Roger wrote:
>Hi,
>
>on my local computer (localhost
Hi,
on my local computer (localhost on windows 7) i installed Apache to use
Joomla.
I setup virtual host (\apache\conf\extra\httpd-vhosts.conf) and it works
great.
now for each virtual host, i would like to use a special .htaccess file, so
i added:
AccessFileName .htaccess
here is an example of