[apache] not a valid FDN

Pagina: 1
Acties:

  • EWS99
  • Registratie: Maart 2001
  • Laatst online: 07:20
Owkee, ik ben dus met .htaccess enzo bezig, en ik zie in de error_log van apache de volgende regel staan:
code:
1
[Tue Dec 18 14:49:00 2001] [error] [client 192.168.0.2] erwin: not a valid FDN: /admin

Ik kan dus niet inloggen in http://mijndomein/admin.
Ik heb alles gecheckt, httpd.conf, permissies, .htaccessfile, alles...
het gaat om de beveiligde dir /usr/local/httpd/htdocs/admin
Sys: Suse 7.2 met apache (php + perl)
code:
1
2
3
4
5
6
7
8
9
10
11
root@router:/usr/local/httpd/htdocs/admin > ls -l .htaccess
-rwxr-xr-x    1 root     root        87 Dec 18 14:45 .htaccess
---
root@router:/usr/local/httpd/htdocs/admin > cat .htaccess
AuthName Beveiligd
AuthType basic
AuthUserFile /etc/httpd/mysql.hta
require user erwin
---
root@router:/etc/httpd > ls -l mysql.hta
-rw-r--r--    1 root     root        20 Dec 18 14:45 mysql.hta

note: permissies staan niet goed, dat weet ik :P, maar just for testing...

mysql.hta is aangemaakt met
code:
1
htpasswd -c /etc/httpd/mysql.hta erwin

Iemand nog enig idee? Ik weet het nl. niet meer :(

Hier had uw advertentie kunnen staan!


  • EWS99
  • Registratie: Maart 2001
  • Laatst online: 07:20
ik heb ff aan mijn vriend google wat gevragen, en ik kom hierop:
http://www.oreillynet.com/cs/user/view/cs_msg/4263
Precies mijn probleem!

[edit] Dit lijkt echt een SuSE probleem te zijn? iemand een idee?

Hier had uw advertentie kunnen staan!


  • EWS99
  • Registratie: Maart 2001
  • Laatst online: 07:20
owkee, het is me gelukt, het ligt inderdaad aan SuSE
http://sdb.suse.de/en/sdb/html/daniel_mod_auth_nds.html
bracht mij tot het goede antwoord
code:
1
2
3
4
5
6
7
Exchange the value yes to no in the line 
HTTPD_SEC_MOD_AUTH_NDS=yes
of the file /etc/rc.config.d/apache.rc.config.
Execute as user 'root'
SuSEconfig --module apache
in a text terminal to active the changes.
Afterwards the apache has to be restarted (rcapache restart).

Hier had uw advertentie kunnen staan!