httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yassine ELassad" <...@directbox.com>
Subject [users@httpd] Apache and mod_auth_mysql still in trouble
Date Sun, 04 Sep 2005 20:51:12 GMT
Dear everyone,
 
i dont know how to solve my problem and i hope that my first mail gives you a an idea what
my problem is and i will really apreciate any idea or sugestion and if ever you desir more
information about my issue please just let me know 


i joing again my vhost conf and my httpd.conf

1) vhost.conf
2) httpd.conf


1-
=========================
Include /etc/apache2/vhosts.d/*.conf
=========================
   <VirtualHost myweb.de:80>
        DocumentRoot /srv/www/htdocs/
         <IfModule mod_auth_mysql.c>
            <Directory /srv/www/htdocs>
                   DirectoryIndex  index.jsp index.html
                   Options +FollowSymLinks +Multiviews
                   AllowOverride All
                   AuthName "myweb authenticated zone"
                   AuthMySQLEnable On
                   AuthType Basic
                   AuthMySQLHost localhost
                   AuthMySQLUser mywebuser
                   AuthMySQLPassword xxxxxxxxxxxxxx
                   AuthMySQLDB sqldb-name
                   AuthMySQLUserTable sql-username
                   AuthMySQLNameField user_name
                   AuthMySQLPasswordField user_passwd
                   require valid-user
            </Directory>
# Give all /servlet/* URLs to Tomcat
            <Location "/examples/*">
                JkUriSet worker ajp13:127.0.0.1:8009
            </Location>
        </IfModule>
  </VirtualHost>
=================================



2-
==================================
Include /etc/apache2/uid.conf
    -----------------------
        User wwwrun
        Group www
    -----------------------
Include /etc/apache2/server-tuning.conf
    -----------------------------
    <IfModule prefork.c>
       ...
    </IfModule>
    <IfModule worker.c>
        ...
    </IfModule>
    <IfModule leader.c>
        ...
    </IfModule>
    <IfModule perchild.c>
        ...
    </IfModule>
    <IfModule metuxmpm.c>
    ...
    </IfModule>
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 15
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully
    BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
    BrowserMatch "^gnome-vfs" redirect-carefully
-----------------------------------------------------------------
ErrorLog /var/log/apache2/error_log
--------------------------------------------------
Include /etc/apache2/sysconfig.d/loadmodule.conf
--------------------------------------------------
    ------------------------------------------------------------------------------------
     ...
    LoadModule jk2_module                     /usr/lib/apache2/mod_jk2.so
    LoadModule mysql_auth_module              /usr/lib/apache2-prefork/mod_auth_mysql.so
    -----------------------------------------------------------------------------------------
==================================
Include /etc/apache2/conf.d/mod_auth_mysql.conf  ** the modules iam trying   to use
==================================
       <IfDefine AUTH_MYSQL>
          <IfModule !mod_auth_mysql.c>
            LoadModule mysql_auth_module              /usr/lib/apache2-prefork/mod_auth_mysql.so
          </IfModule>
        </IfDefine>
--------------------------------
Include /etc/apache2/listen.conf
--------------------------------
    Listen 80
    <IfDefine SSL>
       <IfDefine !NOSSL>
            <IfModule mod_ssl.c>
                Listen 443
            </IfModule>
         </IfDefine>
    </IfDefine>
    Listen 443
---------------------------------------------
Include /etc/apache2/mod_log_config.conf
--------------------------------------------
    specifies the logformat for each module
---------------------------------------------
Include /etc/apache2/sysconfig.d/global.conf
---------------------------------------------
        Timeout 300
        ServerSignature off
        UseCanonicalName off
        ServerTokens OS
        LogLevel warn
       CustomLog /var/log/apache2/access_log combined
---------------------------------------
Include /etc/apache2/mod_status.conf
---------------------------------------
    <IfModule mod_status.c>
        <Location /server-status>
            SetHandler server-status
            Order deny,allow
            Deny from all
            Allow from localhost
        </Location>
    </IfModule>
-------------------------------------
Include /etc/apache2/mod_info.conf
-------------------------------------
    <IfModule mod_info.c>
        <Location /server-info>
                SetHandler server-info
                Order deny,allow
                Deny from all
                Allow from localhost
        </Location>
    </IfModule>
-----------------------------------------
Include /etc/apache2/mod_usertrack.conf
-----------------------------------------
       <IfModule mod_usertrack.c>
                    CookieName Apache
       </IfModule>
---------------------------------------------------
Include /etc/apache2/mod_autoindex-defaults.conf
---------------------------------------------------
       Default
---------------------------------------
TypesConfig /etc/apache2/mime.types
---------------------------------------
       Default

DefaultType text/plain
----------------------------------------------
Include /etc/apache2/mod_mime-defaults.conf
----------------------------------------------
       Default
---------------------------------
Include /etc/apache2/errors.conf
--------------------------------
    Default
------------------------------------
Include /etc/apache2/ssl-global.conf
------------------------------------
       Default
# forbid access to the entire filesystem by default
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
   Deny from all
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    Order allow,deny
   Deny from all
</Files>
DirectoryIndex index.jsp index.html index.html.var index.shtml
Include /etc/apache2/default-server.conf
Include /etc/apache2/sysconfig.d/include.conf
Include /etc/apache2/vhosts.d/*.conf
Include /etc/apache2/httpd.include
==================================
end of httpd.conf

-----------------------------------
i will really apreciate any clue what i could be making wrong


regards and thanks in advance

Yel
__________________________________________________
Verpassen Sie keine eBay-Auktion und bieten Sie bequem
und schnell ├╝ber das Telefon mit http://www.telefonbieten.de

Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag
eMail, FAX, SMS, VoiceMail mit http://www.directbox.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message