You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/09/30 12:09:41 UTC

DO NOT REPLY [Bug 40647] New: - Apache don't handle authentification with python handler

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40647

           Summary: Apache don't handle authentification with python handler
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: benoitc@archlinuxfr.org


I'm trying to launch authentification on one location whih apache in a vhost set
with python handler. But login window isn't launched when I go on the url and
even apache tell me that this website don't require authentification. Even id
mod_auth_basic and such things are loaded.

Apache configuration :

<VirtualHost *>
        ServerName projet
        DocumentRoot  /home/benoitc/Work/trac/archlinuxfr/

        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonAuthenHandler none
        PythonOption TracEnv /home/benoitc/Work/trac/archlinuxfr
        PythonOption TracUriRoot /
        PythonDebug on

        SetEnv PYTHON_EGG_CACHE  /var/cache/python-eggs

        <Location "/svn">
                DAV svn
                SVNPath /home/svn/archlinuxfr
                AuthType Basic
                AuthName "Projet Arch Linux FR - D�pot subversion"
                AuthUserFile /home/benoitc/Work/trac/archlinuxfr/htpasswd
                AuthzSVNAccessFile  /home/benoitc/Work/trac/archlinuxfr/svnperms
                <LimitExcept GET PROPFIND OPTIONS REPORT>
                    Require valid-user
                </LimitExcept>
                Satisfy any
        </Location>

        #<Location "/login">
        #       AuthType basic
        #       AuthName "Trac"
        #       AuthUserFile /home/trac/archlinuxfr/htpasswd
        #               Require valid-user
        #</Location>

        Alias /trac "/usr/share/trac/htdocs"
        Alias /trac-static  /home/benoitc/Work/trac/archlinuxfr/htdocs
        <Location /trac-static>
                SetHandler none
        </Location>
</VirtualHost>


and apache was compiled with this configure line :

./configure --prefix=/usr --enable-layout=RedHat --datadir=/home/httpd \
    --enable-modules=all --enable-mods-shared=all --enable-ssl --enable-so \
    --enable-proxy --enable-proxy-connect --enable-proxy-ftp \
    --enable-proxy-http --enable-suexec --enable-dbd \
    --enable-cache --enable-disk-cache --enable-mem-cache \
    --with-apr=/usr --with-apr-util=/usr --with-pcre=/usr --with-mpm=worker

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 40647] - Apache don't handle authentification with python handler

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40647


benoitc@archlinuxfr.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From benoitc@archlinuxfr.org  2006-09-30 07:42 -------
don't understand why this bug have been marked invalid. Just make more test with
less options. And it appear that mod_python handler is used before apache test
/Location. With this configuration on a local host, when I don't put Require
valid-user line I can go on /svn . Whithout it url is handled by mod_python.
Maybe something related with mod_python authentification api ?

<VirtualHost *>
        ServerName projet
        DocumentRoot  /home/benoitc/Work/trac/archlinuxfr/



        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /home/benoitc/Work/trac/archlinuxfr
        PythonOption TracUriRoot /
        PythonDebug on
				

				
        SetEnv PYTHON_EGG_CACHE /var/cache/python-eggs


				<Directory "/home/svn/archlinuxfr">
					Options All 
					AllowOverride All
					Order allow,deny
					Allow from all
				</Directory>
		
				<Location /svn>	
                DAV svn
		
                SVNPath /home/svn/archlinuxfr
                AuthType Basic
								 AuthBasicProvider file
								AuthName "Subversion repository"
                AuthUserFile /home/benoitc/Work/trac/archlinuxfr/users-archlinuxfr
								Require valid-user
        </Location>

          Alias /trac-static /home/benoitc/Work/trac/archlinuxfr/htdocs
        <Location /trac-static>
                SetHandler none
        </Location>
</VirtualHost>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 40647] - Apache don't handle authentification with python handler

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40647





------- Additional Comments From benoitc@archlinuxfr.org  2006-09-30 06:05 -------
what is wrontg. I saw this configuration working. And every people I ask the
question can't find what is wrong. So maybe you could be a little more explicit ?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 40647] - Apache don't handle authentification with python handler

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40647


nick@webthing.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From nick@webthing.com  2006-09-30 03:34 -------
Please use a user support forum for help questions.  There are far too many 
things wrong with your configuration to suggest a quick fix.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org