Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

.htaccess file format

  • 29-11-2002 9:57am
    #1
    Registered Users, Registered Users 2 Posts: 14,149 ✭✭✭✭


    Hey guys,

    got a little question here regarding htaccess.

    I'm setting up .htaccess files to facilitate user-authentication for nagios (which I am well out of my depth with .. but anyway)

    I'm just wondering if this syntax is correct:
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    require valid-user
    

    or does the AuthUserFile string need to be in commas, etc?


Comments

  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    D'ya know, it's been so long since I used htaccess I actually had to go and look. The shame. But anyway, yes, it's fine. Quotes are recommended these days in Apache confs, but not required. (I don't use 'em.)

    Why are you out of your depth?

    HTH
    adam


  • Registered Users, Registered Users 2 Posts: 14,149 ✭✭✭✭Lemming


    Originally posted by dahamsta
    Why are you out of your depth?

    Oh, just with nagios. It's rather large and detailed (as regards the finer points of network workings).

    Some of the work I'm having to do here in work I just feel is WELL above my current linux skill-level, and at times feel like I'm in the deep-end of the pool without inflatable arm-bands :D

    So it's taking me ages to get what would be quite small tasks done (which i don't like - cause I feel inefficient because of it)

    Anyway, rant over and cheers for the help Adam :)


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    OSome of the work I'm having to do here in work I just feel is WELL above my current linux skill-level, and at times feel like I'm in the deep-end of the pool without inflatable arm-bands

    Know the feeling, only not just with Linux. (Although I have been tested well past my limits a few times.) I've had Windows servers, local networking, outside networking, SNMP, Oracle, FreeBSD, mcal, ICAP and a fair few other things I haven't a clue about thrown at me in the past six months. Sadly, I kinda enjoy it, because I'm left to figure things out on my own for the most part, and if I say "sorry, I haven't a bulls notion what you're talking about", people seem to understand.

    God Bless Mammy and Daddy and Google. :)

    adam


Advertisement