Quick question about HTTP:Authorization and auth_type

Posted on 2006-03-25
Last Modified: 2012-05-05

I am using auth_type with a rewrite rule in my httpd.conf file.... a pal told me to use HTTP:Authorization instead

Quick question: whats the difference if any with "HTTP:Authorization" or AUTH_TYPE

RewriteCond %{HTTP:Authorization} ^basic [NC]
RewriteCond %{LA-U:AUTH_TYPE} ^basic$ [NC]

Question by:fab_man_007
    LVL 27

    Accepted Solution

    AUTH_TYPE is a server variable, set once HTTP connection has been established
    %{HTTP:header} is a common way to match any value in http header

    so both rules will detect following header line:
    Authorization: basic

    but matching ^basic is more common then ^basic$, so the first rule will also match "Authorization: basicblabla"


    Author Comment


    Author Comment

    Oops, Can an administrator kindly change that grade to an A, I made a mistake and accidently put it as a C.

    Nopius answered me to the point and the correct grade is an A


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    In a recent article here at Experts Exchange (, I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
    I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now