How can I activate .htaccess?
Posted:
09. February 2009 04:40
by onetwo
Hi Friends,
I did not find a forum to investigate, but I'll ask:) .htaccess about doing some things, but apache does not give any response. .htaccess is that a point will activate?
If you appreciate help ...
Re: How can I activate .htaccess?
Posted:
09. February 2009 04:43
by Izzy
.htaccess is activated by default in XAMPP's Apache.
Re: How can I activate .htaccess?
Posted:
09. February 2009 09:54
by Nobbie
In case you do not use Xampps Apache (or created an Alias outside of DocumentRoot, or a different DocumentRoot for VirtualHosts etc.), you have to specify the "AllowOverride" directive to enable changes in .htaccess. This directive is part of the the <Directory ...> Block.
Example:
If you specify
- Code: Select all
<Directory c:/srv/www/htdocs>
...
AllowOverride All
...
</Directory>
.htaccess in c:/srv/www/htdocs (or any subfolder) may override all directives of httpd.conf
See
http://httpd.apache.org/docs/2.0/en/mod ... owoverride for detailed information.