Saturday, May 18th 2013, 2:32pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, June 4th 2005, 11:15pm

Web Interface und der Login Problem ...

Hallo zusammen,

bevor ich mein Problem schildere möchte ich noch kurz sagen das ich bevor ich Probleme poste genau Foren lese und auch Suchmaschienen benutze.

Also dann mal zu meinem Problem,

ich habe nagios über apt-get auf meine debian installiert. Es läuft auch soweit. Der Dienst ansich startet ohne Ärger und das Web Interface an sich kann ich auch aufrufen. Naja jedefalls bis zu dem Punkt wo ich mich einloggen kann.

Es kommt die Benutzer und Passwortabfrage wo ich scheitere.

Ich habe mit htpasswd -c /etc/nagios/htpasswd.user nagiosadmin angelegt. Nur nimmt er diesen User nicht an.

Ich denke ich poste mal meine COnfig vom Apache mit, denn die iss durch mein installiertes VHCS nicht allzu Standard. Eventuell könnte mal eine erfahrener nagios User einen Blick drauf werfen ob ich es richtig eingebunden habe.

Falls eventuell weitere Infos nötig sind bitt raus damit. Bin für jede Hilfe dankbar.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
# httpd Data BEGIN.

#
# Web traffic accounting.
#

LogFormat "%B" traff

#
# GUI Location.
#

Alias /vhcs2 /var/www/vhcs2/gui
<Directory /var/www/vhcs2/gui>
    AllowOverride none
    Options MultiViews IncludesNoExec FollowSymLinks
    ErrorDocument 404 /vhcs2/errordocs/index.php
    DirectoryIndex index.html index.php
</Directory>

<Directory /var/www/vhcs2/gui/tools/filemanager>
    php_flag register_globals On
    php_admin_value open_basedir "/var/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/"
</Directory>

Alias /vhcs_images /var/www/vhcs2/gui/images
<Directory /var/www/vhcs2/gui/images>
    AllowOverride none 
    Options MultiViews IncludesNoExec FollowSymLinks
</Directory>

#
# Default GUI.
#
#
# Nagios GUI.
#
ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios
ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios
<DirectoryMatch /usr/lib/cgi-bin/nagios>
        Options ExecCGI

        AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All

        AuthName "Nagios Access"
        AuthType Basic
        AuthUserFile /etc/nagios/htpasswd.users
        require valid-user
</DirectoryMatch>

Alias /nagios/stylesheets /etc/nagios/stylesheets

Alias /netsaint /usr/share/nagios/htdocs
Alias /nagios /usr/share/nagios/htdocs
<DirectoryMatch /usr/share/nagios/htdocs>
        Options FollowSymLinks

        AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All

        AuthName "Nagios Access"
        AuthType Basic
        AuthUserFile /etc/nagios/htpasswd.users
        require valid-user
</DirectoryMatch>

#
# Nagios End
#


<VirtualHost _default_:*> 

    DocumentRoot /var/www/vhcs2/gui

    <Directory /var/www/vhcs2/gui>
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

# httpd [81.169.151.93] virtual host entry BEGIN.

NameVirtualHost 81.169.151.93

# httpd [cologne-it.com] dmn group entry BEGIN.

# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.

# httpd [cologne-it.com] dmn entry BEGIN.
<VirtualHost cologne-it.com>
    
    #
    #User vu2006
    #Group vu2006
    #
    
    #
    #SuexecUserGroup vu2006 vu2006
    #

    ServerAdmin     [EMAIL]root@cologne-it.com[/EMAIL]
    DocumentRoot    /var/www/virtual/cologne-it.com/htdocs
    
    ServerName      cologne-it.com
    ServerAlias     [URL]www.cologne-it.com[/URL] cologne-it.com
    
    ErrorLog        /var/log/apache2/users/cologne-it.com-error.log
    TransferLog     /var/log/apache2/users/cologne-it.com-access.log
    
    CustomLog       /var/log/apache2/cologne-it.com-traf.log traff
    CustomLog       /var/log/apache2/cologne-it.com-combined.log combined
    
    Alias /errors   /var/www/virtual/cologne-it.com/errors/
    
    ErrorDocument 401 /errors/401/index.php
    ErrorDocument 403 /errors/403/index.php
    ErrorDocument 404 /errors/404/index.php
    ErrorDocument 500 /errors/500/index.php

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/cologne-it.com/cgi-bin/
    <Directory /var/www/virtual/cologne-it.com/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.
    
    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/cologne-it.com/:/usr/share/php/:/tmp/"
    # httpd dmn entry PHP2 support END.
    
    <Directory /var/www/virtual/cologne-it.com/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
    
</VirtualHost>
# httpd [cologne-it.com] dmn entry END.

# httpd [cologne-it.com] dmn group entry END.

# httpd [rapid-action-warriors.net] dmn group entry BEGIN.

# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.

# httpd [rapid-action-warriors.net] dmn entry BEGIN.
<VirtualHost rapid-action-warriors.net>
    
    #
    #User vu2007
    #Group vu2007
    #
    
    #
    #SuexecUserGroup vu2007 vu2007
    #

    ServerAdmin     [EMAIL]root@rapid-action-warriors.net[/EMAIL]
    DocumentRoot    /var/www/virtual/rapid-action-warriors.net/htdocs
    
    ServerName      rapid-action-warriors.net
    ServerAlias     [URL]www.rapid-action-warriors.net[/URL] rapid-action-warriors.net
    
    ErrorLog        /var/log/apache2/users/rapid-action-warriors.net-error.log
    TransferLog     /var/log/apache2/users/rapid-action-warriors.net-access.log
    
    CustomLog       /var/log/apache2/rapid-action-warriors.net-traf.log traff
    CustomLog       /var/log/apache2/rapid-action-warriors.net-combined.log combined
    
    Alias /errors   /var/www/virtual/rapid-action-warriors.net/errors/
    
    ErrorDocument 401 /errors/401/index.php
    ErrorDocument 403 /errors/403/index.php
    ErrorDocument 404 /errors/404/index.php
    ErrorDocument 500 /errors/500/index.php

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/rapid-action-warriors.net/cgi-bin/
    <Directory /var/www/virtual/rapid-action-warriors.net/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.
    
    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/rapid-action-warriors.net/:/usr/share/php/:/tmp/"
    # httpd dmn entry PHP2 support END.
    
    <Directory /var/www/virtual/rapid-action-warriors.net/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
    
</VirtualHost>
# httpd [rapid-action-warriors.net] dmn entry END.

# httpd [rapid-action-warriors.net] dmn group entry END.

# httpd [gamersbestfriend.de] dmn group entry BEGIN.

# httpd [test.gamersbestfriend.de] sub entry BEGIN.
<VirtualHost test.gamersbestfriend.de>

    #
    #User vu2008
    #Group vu2008
    #
    
    #
    #SuexecUserGroup vu2008 vu2008
    #

    ServerAdmin     [EMAIL]root@gamersbestfriend.de[/EMAIL]
    DocumentRoot    /var/www/virtual/gamersbestfriend.de/test/htdocs
    
    ServerName      test.gamersbestfriend.de
    ServerAlias     [URL]www.test.gamersbestfriend.de[/URL] test.gamersbestfriend.de
    
    ErrorLog        /var/log/apache2/users/test.gamersbestfriend.de-error.log
    TransferLog     /var/log/apache2/users/test.gamersbestfriend.de-access.log
    
    CustomLog       /var/log/apache2/gamersbestfriend.de-traf.log traff
    CustomLog       /var/log/apache2/gamersbestfriend.de-combined.log combined

    # httpd sub entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/gamersbestfriend.de/test/cgi-bin/
    <Directory /var/www/virtual/gamersbestfriend.de/test/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd sub entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd sub entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/gamersbestfriend.de/test/:/usr/share/php/:/tmp/"
    # httpd sub entry PHP2 support END.
    
    <Directory /var/www/virtual/gamersbestfriend.de/test/htdocs>
        # httpd sub entry PHP support BEGIN.
        # httpd sub entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
    
</VirtualHost>
# httpd [test.gamersbestfriend.de] sub entry END.

# httpd [mambo.gamersbestfriend.de] sub entry BEGIN.
<VirtualHost mambo.gamersbestfriend.de>

    #
    #User vu2008
    #Group vu2008
    #
    
    #
    #SuexecUserGroup vu2008 vu2008
    #

    ServerAdmin     [EMAIL]root@gamersbestfriend.de[/EMAIL]
    DocumentRoot    /var/www/virtual/gamersbestfriend.de/mambo/htdocs
    
    ServerName      mambo.gamersbestfriend.de
    ServerAlias     [URL]www.mambo.gamersbestfriend.de[/URL] mambo.gamersbestfriend.de
    
    ErrorLog        /var/log/apache2/users/mambo.gamersbestfriend.de-error.log
    TransferLog     /var/log/apache2/users/mambo.gamersbestfriend.de-access.log
    
    CustomLog       /var/log/apache2/gamersbestfriend.de-traf.log traff
    CustomLog       /var/log/apache2/gamersbestfriend.de-combined.log combined

    # httpd sub entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/gamersbestfriend.de/mambo/cgi-bin/
    <Directory /var/www/virtual/gamersbestfriend.de/mambo/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd sub entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd sub entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/gamersbestfriend.de/mambo/:/usr/share/php/:/tmp/"
    # httpd sub entry PHP2 support END.
    
    <Directory /var/www/virtual/gamersbestfriend.de/mambo/htdocs>
        # httpd sub entry PHP support BEGIN.
        # httpd sub entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
    
</VirtualHost>
# httpd [mambo.gamersbestfriend.de] sub entry END.

# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.

# httpd [gamersbestfriend.de] dmn entry BEGIN.
<VirtualHost gamersbestfriend.de>
    
    #
    #User vu2008
    #Group vu2008
    #
    
    #
    #SuexecUserGroup vu2008 vu2008
    #

    ServerAdmin     [EMAIL]root@gamersbestfriend.de[/EMAIL]
    DocumentRoot    /var/www/virtual/gamersbestfriend.de/htdocs
    
    ServerName      gamersbestfriend.de
    ServerAlias     [URL]www.gamersbestfriend.de[/URL] gamersbestfriend.de
    
    ErrorLog        /var/log/apache2/users/gamersbestfriend.de-error.log
    TransferLog     /var/log/apache2/users/gamersbestfriend.de-access.log
    
    CustomLog       /var/log/apache2/gamersbestfriend.de-traf.log traff
    CustomLog       /var/log/apache2/gamersbestfriend.de-combined.log combined
    
    Alias /errors   /var/www/virtual/gamersbestfriend.de/errors/
    
    ErrorDocument 401 /errors/401/index.php
    ErrorDocument 403 /errors/403/index.php
    ErrorDocument 404 /errors/404/index.php
    ErrorDocument 500 /errors/500/index.php

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/gamersbestfriend.de/cgi-bin/
    <Directory /var/www/virtual/gamersbestfriend.de/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.
    
    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/gamersbestfriend.de/:/usr/share/php/:/tmp/"
    # httpd dmn entry PHP2 support END.
    
    <Directory /var/www/virtual/gamersbestfriend.de/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
    
</VirtualHost>
# httpd [gamersbestfriend.de] dmn entry END.

# httpd [gamersbestfriend.de] dmn group entry END.

# httpd [{DMN_GRP}] dmn group entry BEGIN.
# httpd [{DMN_GRP}] dmn group entry END.

# httpd [webmail.gamersbestfriend.de] als entry BEGIN.
<VirtualHost webmail.gamersbestfriend.de>

    #
    #User vu2008
    #Group vu2008
    #
    
    #
    #SuexecUserGroup vu2008 vu2008
    #

    ServerAdmin     [EMAIL]root@webmail.gamersbestfriend.de[/EMAIL]
    DocumentRoot    /var/www/virtual/gamersbestfriend.de/webmail_gamersbestfriend.de/htdocs

    ServerName      webmail.gamersbestfriend.de
    ServerAlias     [URL]www.webmail.gamersbestfriend.de[/URL] webmail.gamersbestfriend.de

    ErrorLog        /var/log/apache2/users/webmail.gamersbestfriend.de-error.log
    TransferLog     /var/log/apache2/users/webmail.gamersbestfriend.de-access.log

    CustomLog       /var/log/apache2/gamersbestfriend.de-traf.log traff
    CustomLog       /var/log/apache2/gamersbestfriend.de-combined.log combined

    Alias /errors   /var/www/virtual/gamersbestfriend.de/webmail_gamersbestfriend.de/errors/

    ErrorDocument   401 /errors/401/index.php
    ErrorDocument   403 /errors/403/index.php
    ErrorDocument   404 /errors/404/index.php
    ErrorDocument   500 /errors/500/index.php

    # httpd als entry redirect entry BEGIN.
    Redirect / [URL]http://81.169.151.93/vhcs2/tools/webmail/[/URL]
    # httpd als entry redirect entry END.
      
    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/gamersbestfriend.de/webmail_gamersbestfriend.de/cgi-bin/
    <Directory /var/www/virtual/gamersbestfriend.de/webmail_gamersbestfriend.de/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/gamersbestfriend.de/webmail_gamersbestfriend.de/:/usr/share/php/:/tmp/"
    # httpd als entry PHP2 support END.

    <Directory /var/www/virtual/gamersbestfriend.de/webmail_gamersbestfriend.de/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>
# httpd [webmail.gamersbestfriend.de] als entry END.

# httpd [webmail.rapid-action-warriors.net] als entry BEGIN.
<VirtualHost webmail.rapid-action-warriors.net>

    #
    #User vu2007
    #Group vu2007
    #
    
    #
    #SuexecUserGroup vu2007 vu2007
    #

    ServerAdmin     [EMAIL]root@webmail.rapid-action-warriors.net[/EMAIL]
    DocumentRoot    /var/www/virtual/rapid-action-warriors.net/webmail_rapid-action-warriors.net/htdocs

    ServerName      webmail.rapid-action-warriors.net
    ServerAlias     [URL]www.webmail.rapid-action-warriors.net[/URL] webmail.rapid-action-warriors.net

    ErrorLog        /var/log/apache2/users/webmail.rapid-action-warriors.net-error.log
    TransferLog     /var/log/apache2/users/webmail.rapid-action-warriors.net-access.log

    CustomLog       /var/log/apache2/rapid-action-warriors.net-traf.log traff
    CustomLog       /var/log/apache2/rapid-action-warriors.net-combined.log combined

    Alias /errors   /var/www/virtual/rapid-action-warriors.net/webmail_rapid-action-warriors.net/errors/

    ErrorDocument   401 /errors/401/index.php
    ErrorDocument   403 /errors/403/index.php
    ErrorDocument   404 /errors/404/index.php
    ErrorDocument   500 /errors/500/index.php

    # httpd als entry redirect entry BEGIN.
    Redirect / [URL]http://81.169.151.93/vhcs2/tools/webmail/[/URL]
    # httpd als entry redirect entry END.
      
    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/rapid-action-warriors.net/webmail_rapid-action-warriors.net/cgi-bin/
    <Directory /var/www/virtual/rapid-action-warriors.net/webmail_rapid-action-warriors.net/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/rapid-action-warriors.net/webmail_rapid-action-warriors.net/:/usr/share/php/:/tmp/"
    # httpd als entry PHP2 support END.

    <Directory /var/www/virtual/rapid-action-warriors.net/webmail_rapid-action-warriors.net/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>
# httpd [webmail.rapid-action-warriors.net] als entry END.

# httpd [webmail.cologne-it.com] als entry BEGIN.
<VirtualHost webmail.cologne-it.com>

    #
    #User vu2006
    #Group vu2006
    #
    
    #
    #SuexecUserGroup vu2006 vu2006
    #

    ServerAdmin     [EMAIL]root@webmail.cologne-it.com[/EMAIL]
    DocumentRoot    /var/www/virtual/cologne-it.com/webmail_cologne-it.com/htdocs

    ServerName      webmail.cologne-it.com
    ServerAlias     [URL]www.webmail.cologne-it.com[/URL] webmail.cologne-it.com

    ErrorLog        /var/log/apache2/users/webmail.cologne-it.com-error.log
    TransferLog     /var/log/apache2/users/webmail.cologne-it.com-access.log

    CustomLog       /var/log/apache2/cologne-it.com-traf.log traff
    CustomLog       /var/log/apache2/cologne-it.com-combined.log combined

    Alias /errors   /var/www/virtual/cologne-it.com/webmail_cologne-it.com/errors/

    ErrorDocument   401 /errors/401/index.php
    ErrorDocument   403 /errors/403/index.php
    ErrorDocument   404 /errors/404/index.php
    ErrorDocument   500 /errors/500/index.php

    # httpd als entry redirect entry BEGIN.
    Redirect / [URL]http://81.169.151.93/vhcs2/tools/webmail/[/URL]
    # httpd als entry redirect entry END.
      
    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/cologne-it.com/webmail_cologne-it.com/cgi-bin/
    <Directory /var/www/virtual/cologne-it.com/webmail_cologne-it.com/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/cologne-it.com/webmail_cologne-it.com/:/usr/share/php/:/tmp/"
    # httpd als entry PHP2 support END.

    <Directory /var/www/virtual/cologne-it.com/webmail_cologne-it.com/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>
# httpd [webmail.cologne-it.com] als entry END.

# httpd [webftp.cologne-it.com] als entry BEGIN.
<VirtualHost webftp.cologne-it.com>

    #
    #User vu2006
    #Group vu2006
    #
    
    #
    #SuexecUserGroup vu2006 vu2006
    #

    ServerAdmin     [EMAIL]root@webftp.cologne-it.com[/EMAIL]
    DocumentRoot    /var/www/virtual/cologne-it.com/webftp_cologne-it.com/htdocs

    ServerName      webftp.cologne-it.com
    ServerAlias     [URL]www.webftp.cologne-it.com[/URL] webftp.cologne-it.com

    ErrorLog        /var/log/apache2/users/webftp.cologne-it.com-error.log
    TransferLog     /var/log/apache2/users/webftp.cologne-it.com-access.log

    CustomLog       /var/log/apache2/cologne-it.com-traf.log traff
    CustomLog       /var/log/apache2/cologne-it.com-combined.log combined

    Alias /errors   /var/www/virtual/cologne-it.com/webftp_cologne-it.com/errors/

    ErrorDocument   401 /errors/401/index.php
    ErrorDocument   403 /errors/403/index.php
    ErrorDocument   404 /errors/404/index.php
    ErrorDocument   500 /errors/500/index.php

    # httpd als entry redirect entry BEGIN.
    Redirect / [URL]http://cologne-it.com/vhcs2/tools/filemanager/[/URL]
    # httpd als entry redirect entry END.
      
    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/cologne-it.com/webftp_cologne-it.com/cgi-bin/
    <Directory /var/www/virtual/cologne-it.com/webftp_cologne-it.com/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/cologne-it.com/webftp_cologne-it.com/:/usr/share/php/:/tmp/"
    # httpd als entry PHP2 support END.

    <Directory /var/www/virtual/cologne-it.com/webftp_cologne-it.com/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>
# httpd [webftp.cologne-it.com] als entry END.

# httpd [webftp.rapid-action-warriors.net] als entry BEGIN.
<VirtualHost webftp.rapid-action-warriors.net>

    #
    #User vu2007
    #Group vu2007
    #
    
    #
    #SuexecUserGroup vu2007 vu2007
    #

    ServerAdmin     [EMAIL]root@webftp.rapid-action-warriors.net[/EMAIL]
    DocumentRoot    /var/www/virtual/rapid-action-warriors.net/webftp_rapid-action-warriors.net/htdocs

    ServerName      webftp.rapid-action-warriors.net
    ServerAlias     [URL]www.webftp.rapid-action-warriors.net[/URL] webftp.rapid-action-warriors.net

    ErrorLog        /var/log/apache2/users/webftp.rapid-action-warriors.net-error.log
    TransferLog     /var/log/apache2/users/webftp.rapid-action-warriors.net-access.log

    CustomLog       /var/log/apache2/rapid-action-warriors.net-traf.log traff
    CustomLog       /var/log/apache2/rapid-action-warriors.net-combined.log combined

    Alias /errors   /var/www/virtual/rapid-action-warriors.net/webftp_rapid-action-warriors.net/errors/

    ErrorDocument   401 /errors/401/index.php
    ErrorDocument   403 /errors/403/index.php
    ErrorDocument   404 /errors/404/index.php
    ErrorDocument   500 /errors/500/index.php

    # httpd als entry redirect entry BEGIN.
    Redirect / [URL]http://rapid-action-warriors.net/vhcs2/tools/filemanager/[/URL]
    # httpd als entry redirect entry END.
      
    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/rapid-action-warriors.net/webftp_rapid-action-warriors.net/cgi-bin/
    <Directory /var/www/virtual/rapid-action-warriors.net/webftp_rapid-action-warriors.net/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/rapid-action-warriors.net/webftp_rapid-action-warriors.net/:/usr/share/php/:/tmp/"
    # httpd als entry PHP2 support END.

    <Directory /var/www/virtual/rapid-action-warriors.net/webftp_rapid-action-warriors.net/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>
# httpd [webftp.rapid-action-warriors.net] als entry END.

# httpd [webftp.gamersbestfriend.de] als entry BEGIN.
<VirtualHost webftp.gamersbestfriend.de>

    #
    #User vu2008
    #Group vu2008
    #
    
    #
    #SuexecUserGroup vu2008 vu2008
    #

    ServerAdmin     [EMAIL]root@webftp.gamersbestfriend.de[/EMAIL]
    DocumentRoot    /var/www/virtual/gamersbestfriend.de/webftp_gamersbestfriend.de/htdocs

    ServerName      webftp.gamersbestfriend.de
    ServerAlias     [URL]www.webftp.gamersbestfriend.de[/URL] webftp.gamersbestfriend.de

    ErrorLog        /var/log/apache2/users/webftp.gamersbestfriend.de-error.log
    TransferLog     /var/log/apache2/users/webftp.gamersbestfriend.de-access.log

    CustomLog       /var/log/apache2/gamersbestfriend.de-traf.log traff
    CustomLog       /var/log/apache2/gamersbestfriend.de-combined.log combined

    Alias /errors   /var/www/virtual/gamersbestfriend.de/webftp_gamersbestfriend.de/errors/

    ErrorDocument   401 /errors/401/index.php
    ErrorDocument   403 /errors/403/index.php
    ErrorDocument   404 /errors/404/index.php
    ErrorDocument   500 /errors/500/index.php

    # httpd als entry redirect entry BEGIN.
    Redirect / [URL]http://gamersbestfriend.de/vhcs2/tools/filemanager/[/URL]
    # httpd als entry redirect entry END.
      
    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/gamersbestfriend.de/webftp_gamersbestfriend.de/cgi-bin/
    <Directory /var/www/virtual/gamersbestfriend.de/webftp_gamersbestfriend.de/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/gamersbestfriend.de/webftp_gamersbestfriend.de/:/usr/share/php/:/tmp/"
    # httpd als entry PHP2 support END.

    <Directory /var/www/virtual/gamersbestfriend.de/webftp_gamersbestfriend.de/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>
# httpd [webftp.gamersbestfriend.de] als entry END.

# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.

# httpd [81.169.151.93] virtual host entry END.

# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.

# httpd Data END.

Tom

Master

Posts: 2,450

Birthday: Aug 28th 1968 (44)

Gender: male

Location: Düsseldorf

Occupation: Inschenör

Number of monitoring servers: 8

Hobbies: Klettern, Reisen, Computern, Fotographieren

Nagios Version: 1.2 - 3.0.3

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 2600

Number of services: 14000

OS: Fedora/Centos

Plugin Version: 1.3 1.4

Other Addons: Apan, pnp, snmptt

2

Monday, June 6th 2005, 8:10am

Hast du auch die .htaccess angelegt?

Eine genaue Beschreibung der Einrichtung von Authentifizierungen findest du hier:

http://nagios.sourceforge.net/download/c…_0/cgiauth.html

Diese Beschreibung ist sehr gut und sollte eigentlich problemlos klappen.

Gruß
Tom

P.S. Herzlich willkommen im Forum. ;)
No need to be perfect when you look good !!! :P

chris2

Beginner

Posts: 52

Birthday: May 31st 1974 (38)

Gender: male

Occupation: Unix Specialist

Nagios Version: 2.0rc2

Number of hosts: 513

Number of services: 2600

OS: Linux,Solaris

Plugin Version: 1.4.1

3

Monday, June 6th 2005, 9:09am

HiHo

Also mir fallen bei der schnellen Analyse zwei unstimmigkeiten auf.

Du hast das Apache Passwort file mit 'htpasswd -c /etc/nagios/htpasswd.user nagiosadmin' angelegt.

Doch in der Auth-Sektion rufst Du das file AuthUserFile /etc/nagios/htpasswd.users auf. hier steht ein s was dort nicht hingehört.

Entferne einfach das s und es sollte funktionieren. Ein kleiner Tipp noch zu Apache, im Main-error Logfile sollte dort dann auch stehen 'File not found' oder evtl. auch 'permission denied'.

Der 'permission denied' wäre dann die zweite möglichkeit. Am einfachsten kannst Du das selbst prüfen in dem Du z.B. als root su - httpd -c 'ls -la /etc/nagios/htpasswd.users', dass httpd must Du mit deinem Prozess-owner für dem Apache Prozess ersetzen.

Gruss
Chris

Tom

Master

Posts: 2,450

Birthday: Aug 28th 1968 (44)

Gender: male

Location: Düsseldorf

Occupation: Inschenör

Number of monitoring servers: 8

Hobbies: Klettern, Reisen, Computern, Fotographieren

Nagios Version: 1.2 - 3.0.3

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 2600

Number of services: 14000

OS: Fedora/Centos

Plugin Version: 1.3 1.4

Other Addons: Apan, pnp, snmptt

4

Monday, June 6th 2005, 9:21am

Quoted

Original von chris2
HiHo

Also mir fallen bei der schnellen Analyse zwei unstimmigkeiten auf.

Du hast das Apache Passwort file mit 'htpasswd -c /etc/nagios/htpasswd.user nagiosadmin' angelegt.

Doch in der Auth-Sektion rufst Du das file AuthUserFile /etc/nagios/htpasswd.users auf. hier steht ein s was dort nicht hingehört.



Alle Achtung Chris (Laserauge :D ) !

Das wäre mir so schnell nicht aufgefallen aber jetzt, wo du es sagst, halte ich das auch für den möglichen Fehler!

Gruß
Tom
No need to be perfect when you look good !!! :P

bauchi

Professional

Posts: 617

Birthday: Dec 13th 1979 (33)

Gender: male

Location: München

Occupation: Systemarchitect bei nem ISP

Number of monitoring servers: 4

Hobbies: rm -rf, Feuerwehr

Nagios Version: 2.9

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 2300

Number of services: ~32300

OS: CentOS 5

Plugin Version: 1.4.13

NagVis Version: subvers

NDO Version: 1.4.3

Perfparse Version: none

Other Addons: monarch, pnp

5

Monday, June 6th 2005, 9:37pm

ein kurzer blick in dein error log vom apachen bringt sicher die lösung ;)

ssssssssssssssss *G*
Systemimmanente Systememinenz
In a networked world, downtime is not an option!
Standardantwort auf 95% aller Fragen im NagiosPortal
It is a book about a Spanish guy called Manual. You should read it. - Dilbert