top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the meaning of NC in htaccess?

+2 votes
598 views
What is the meaning of NC in htaccess?
posted Aug 25, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

nocase|NC' (no case):

This makes the Pattern case-insensitive, ignoring difference between 'A-Z' and 'a-z' when Pattern is matched against the current URL.

answer Feb 10, 2016 by Manikandan J
Similar Questions
+1 vote

I googled but cant figure it out.

0 votes

It seems that I've hit a size limitation when adding unwanted IPs to a "Deny From" line.
Is there any place where this is specified?
Also, if I hit the max length on a "Deny From" line, can I add another "Deny From" line?

(Running CentOS 6, and the following version of Apache: httpd-2.2.15-28.el6.centos.x86_64)

0 votes

I really don't understand some things about htaccess. Reading, the advice is: never permit htaccess to users. So, can I enable htaccess but only for personalize something like this?

ErrorDocument 400 /errors/badrequest.html
ErrorDocument 401 /errors/authreqd.html
ErrorDocument 403 /errors/forbid.html
ErrorDocument 404 /errors/notfound.html
ErrorDocument 500 /errors/serverr.html

and obviously deny all other directives? so an user with own htaccess file, can only personalize that directives.

...