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.. 😎

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

2 Responses

  1. HawkEYE says:

    perhaps.. disable the authimage plugin ..
    then shall be able to upload the new image again..

    hahaha.. something break.. i told you so..

    Reply
  2. HawkEYE says:

    edited the authimage.php to become like this..

    if ($_GET[‘type’] == “text” && $_GET[‘blogcomment’]==”namrannet”) {
    createAICode(“text”);
    exit;
    } elseif ($_GET[‘type’] == “image” && $_GET[‘blogcomment’]==”namrannet”) {
    createAICode(“image”);
    exit;
    }

    and edit the comments.php to include a hidden form id/name as blogcomment and value as namrannet

    hahaha..

    don’t know if someone else understood this problem / solution or not..

    Reply

Anything to add?

X