2013/2/7 Michael Friedrich <michael.friedr...@gmail.com>:
>> As said before please show me the logline from Apache's access.log,
>> the actual request uri should be different.
>>
>> Also it helps when you have a look into the network debugging of your
>> browser (Network Tab in Firebug or Chromes Dev Tools) to pinpoint the
>> request that fails. Details about the Request headers would help too.
>>
>> I don't have that kind of error for either squeeze or wheezy.
>
> i've already asked about the apache config, as well as old .htaccess
> files. Did not get an answer there - thos would help getting an insight
> on the system itsself.


I'm sorry, it was a long day yesterday and it seems like I couldn't
think (or read) straight :)

Here is the access.log:

172.16.119.164 - - [08/Feb/2013:09:29:56 +0100] "POST
/icinga-web/modules/appkit/ext/applicationState HTTP/1.1" 404 535
"http://icinga-test.intern.domain.de/icinga-web/"; "Mozilla/5.0 (X11;
Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko)
Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:29:56 +0100] "GET
/icinga-web/modules/appkit/servertime HTTP/1.1" 404 526
"http://icinga-test.intern.domain.de/icinga-web/"; "Mozilla/5.0 (X11;
Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko)
Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:30:56 +0100] "GET
/icinga-web/modules/appkit/servertime HTTP/1.1" 404 527
"http://icinga-test.intern.domain.de/icinga-web/"; "Mozilla/5.0 (X11;
Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko)
Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:25 +0100] "POST
/icinga-web/modules/appkit/ext/applicationState HTTP/1.1" 404 535
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:25 +0100] "POST
/icinga-web/modules/cronks/cloader/icingaOverallStatus?_dc=1360312274203
HTTP/1.1" 404 538
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:25 +0100] "POST
/icinga-web/modules/cronks/cloader/icingaMonitorPerformance?_dc=1360312274210
HTTP/1.1" 404 541
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:25 +0100] "POST
/icinga-web/modules/cronks/cloader/crlist?_dc=1360312274217 HTTP/1.1"
404 531 "http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:25 +0100] "POST
/icinga-web/modules/cronks/cloader/portalHello?_dc=1360312274249
HTTP/1.1" 404 534
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:25 +0100] "GET
/icinga-web/modules/appkit/servertime HTTP/1.1" 404 526
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:25 +0100] "GET
/icinga-web/web/api/cmdInfo/json?_dc=1360312274346 HTTP/1.1" 404 525
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:31:26 +0100] "POST
/icinga-web/modules/appkit/ext/applicationState HTTP/1.1" 404 535
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"
172.16.119.164 - - [08/Feb/2013:09:32:25 +0100] "GET
/icinga-web/modules/appkit/servertime HTTP/1.1" 404 527
"http://icinga-test.intern.domain.de/icinga-web/index.php/";
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.69 Safari/537.17"

And this is the apache config, but as I said I didn't touch the
default debian one:

#
# icinga-web apache configuration
# - Enable all options .htaccess
# - Add extjs library to alias
#
AliasMatch 
/icinga-web/modules/([A-Za-z0-9]*)/resources/styles/([A-Za-z0-9]*\.css)$
/usr/share/icinga-web/app/modules/$1/pub/styles/$2
AliasMatch 
/icinga-web/modules/([A-Za-z0-9]*)/resources/images/([A-Za-z_\-0-9]*\.(png|gif|jpg))$
/usr/share/icinga-web/app/modules/$1/pub/images/$2


Alias /icinga-web/js/ext3 /usr/share/icinga-web/lib/ext3
Alias /icinga-web /usr/share/icinga-web/pub

<DirectoryMatch /usr/share/icinga-web/app/modules/\w+/pub/styles/>
    Order allow,deny
    Allow from all
</DirectoryMatch>

<DirectoryMatch /usr/share/icinga-web/app/modules/\w+/pub/images/>
    Order allow,deny
    Allow from all
</DirectoryMatch>


<Directory /usr/share/icinga-web/lib/ext3>
    Order allow,deny
    Allow from all
    Options -Indexes -MultiViews
</Directory>

<Directory /usr/share/icinga-web/pub>
    DirectoryIndex index.php
    Options -MultiViews -Indexes +FollowSymLinks
    AllowOverride all
    Order allow,deny
    Allow from all

    RewriteEngine On
    # /icinga-web is base for all rewrite rules
    RewriteBase /icinga-web

    # If the requested URL does not exist (it's likely an agavi route),
    # pass it as path info to index.php, the Agavi dispatch script.
    RewriteRule ^$ index.php?/ [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.php?/$1 [QSA,L]

    <IfModule mod_deflate.c>
        # Insert filter
        SetOutputFilter DEFLATE

        # Netscape 4.x has some problems...
        BrowserMatch ^Mozilla/4 gzip-only-text/html

        # Netscape 4.06-4.08 have some more problems
        BrowserMatch ^Mozilla/4\.0[678] no-gzip

        # MSIE masquerades as Netscape, but it is fine
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        # Don't compress images
        SetEnvIfNoCase Request_URI \
        \.(?:gif|jpe?g|png)$ no-gzip dont-vary

        # Make sure proxies don't deliver the wrong content
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
    </IfModule>

    <IfDefine APACHE2>
        AcceptPathInfo On
    </IfDefine>

</Directory>

<Directory /usr/share/icinga-web/pub/soap>
    RewriteEngine On

    # This depends on your path
    # on independent hosts the base is '/'
    RewriteBase /icinga-web/soap

        # If the requested URL does not exist (it's likely an agavi route),
        # pass it as path info to index.php, the Agavi dispatch script.
        RewriteRule ^$ index.php?/ [QSA,L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule (.*) index.php?/$1 [QSA,L]
</Directory>

And I don't think there is a .htaccess active in one of those
Icinga-Web directories.

Thanks for your effort, I really appreciate it,
--
Kai Timmer            | E-Mail: em...@kaitimmer.de
Chemnitzer Linux-Tage | http://chemnitzer.linux-tage.de

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to