Apache2 und mod_auth_mysql authentication Problem!

Hallo Leute, ich habe ein kommsiches Problem und zwar habe ich versucht einen Bereich unter /srv/www/htdocs über Apache zu sicher und dazu habe ich mir den mod_auth_mysql installiert und wie es folgt konfiguriert aber irgendwie scheint meine konfiguration irgendwo eine Fehler zu haben. was mich aber verückt macht ist die Tatsache dass ich die selbe konfiguration auf einen Andere distrobution habe vorallem die vom vhost und es geht wie ich es will das bedeutet man versucht auf myweb.de zu zugreifen und wird geprompt um usernamen und passwd einzugeben aber nun nachdem ich solange versucht habe das ruas zufinden hoffe ich auf die erfahrung von einer von euch ich weiss einfach nicht mehr woran es liegen kann anbei habe ich meine konfigurationen von dem vhost und httpd.conf sowie der inhalt vonden include files falls es anders vom default ist Vielen Dank für jede Hilfe Yassine ELassad 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
participants (1)
-
yel@directbox.com