Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    IBM
    IBM is offline
    New Coder
    Join Date
    Jul 2002
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    .htaccess directives?

    Everywhere I go every single tutorial shows you stuff like
    [nc] or [r,l] but not one single tutorials ever mentions what these are?

    So, does anyone know of a website that explains what these are and how many of them there are?

    thank you.

  • #2
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    403
    Thanks
    0
    Thanked 0 Times in 0 Posts
    NC = no case (case insensitive)
    R = force redirect
    L = last rule (same as LAST or BREAK)
    F = forbidden (makes the URL forced forbidden, 403)
    G = Gone (returns error code 410)
    P = forces request as a proxy request
    T = mime type
    C = chain (chained with any following rule)
    NS = no sub-request
    QSA = query string append (should be obvious)
    NO = no escape, prevents URI being escape of special characters
    PT = passthrough
    S = skip (skip the next rule)

    Let's see..

    Oh, right...

    E = environment variable
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society

  • #3
    IBM
    IBM is offline
    New Coder
    Join Date
    Jul 2002
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wow, thank you very much. I was beginning to think this sort of thing was not document anywhere on the net.

    You couldn't possibly have spare time enough to offer a website for this sort of thing do you?
    I was at the apache site, but couldn't find what I wanted..which is what you poasted above.

    Thanks again, and if you can give me a website thanks for that also. If not you've already done me a great service.

  • #4
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Old man Feyd here wrote a tutorial on htaccess

    http://www.javascriptkit.com/howto/htaccess.shtml
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #5
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •