httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert rottermann <>
Subject [users@httpd] how can I check whether a a module is "executed" at all?
Date Fri, 06 Mar 2009 06:55:47 GMT
hi there,

I am fighting to get SSO with ntlm authenticating running.

My problem is, that I, whatever I do only get an "authentication required"
error, but no authentication box presented. I tried with IE, firefox (on winows
and linux).

I am using (trying at least) sambas auth_ntlm_winbind module.
this module uses a helper utility. I replaced this helper by my own python
script that does nothing but logging its execution. however, it is never
executed and therefor it seems, that tis module is never called.

I am working on a SuSe 11.1 box Apache is 2.2.10


here my virtual host stanza:
    DocumentRoot /srv/www/htdocs/

    ServerName  zehnder.redcor.home
    CustomLog     /var/log/apache2/zehnder-access.log combined
    ErrorLog      /var/log/apache2/zehnder-error.log
    #LogLevel warn
    LogLevel debug

    # don't loose time with IP address lookups
    HostnameLookups Off

    # needed for named virtual hosts
    UseCanonicalName Off

    # configures the footer on server-generated documents
    ServerSignature On

    # /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
    <Location />
        AuthName "NTLM Authentication thingy"
        NTLMAuth on
        NTLMAuthHelper "/tmp/"
        NTLMBasicAuthoritative off
        AuthType NTLM
        NTLMBasicAuth on
        #set to 'on' to activate Basic authentication (for non-NTLM browsers)
        NTLMBasicRealm "nj usw'
        #Realm to use for Basic authentication
        require valid-user
    RewriteEngine On

    # use #RewriteLog to debug problems with your rewrite rules
    # disable it after you found the error our your harddisk will be filled
*very fast*
    RewriteLog /var/log/apache2/zehnder-rewrite.log
    RewriteLogLevel 3

    RewriteCond %{LA-U:REMOTE_USER} (.+)
       RewriteRule .* - [E=RU:%1]
       RequestHeader set X_REMOTE_USER %{RU}e

    # Normalize URLs by removing trailing /'s
    # Add to virtual host block for zehnder.redcor.home:80
    RewriteRule /(.*)/$$1
    RewriteRule ^/(.*)$1


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message