Why .htaccess having no effect ?

Sometime I wonder when created and changed .htaccess in my box doesn’t have any effect at all.
The only realiazed ..

Because there is a line in /etc/httpd/conf/httpd.conf


AllowOverride None

.. commented out that line..
or change is to

AllowOverride All

then only .htaccess setting will work.

this also apply for wordpress redirection part for
permanent link or some sort of other auth part defined in .htaccess..

Basically affect everything that defined in .htaccess.

Recommended to have different directory section setting for each folder instead of
the whole Document root folder /

Remember to restart the webserver (httpd process) whenever changing /etc/httpd/conf/httpd.conf config file.. 😎

Related Post

3 Responses

  1. casiemec says:

    This rather good idea is necessary just by the way

    Reply
  2. TheN2S says:

    I was wondering if I can use this for my wordpress 2.9.2 site. I simply want to mirror/sync/backup all my newly UPLOADED files to a new BACKUP website. (I don’t want to wait for the cron job to kick in)

    Reply
  3. Madelyn Monoz says:

    I love what you guys are up too. Such clever work and exposure! Keep up the good works guys I’ve added you guys to blogroll.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *