Code Monkey home page Code Monkey logo

Comments (15)

BubonicPestilence avatar BubonicPestilence commented on August 11, 2024

Probably something wrong with your configuration.
Works perfectly on nginx + fpm7.0

from cgp.

Arvur avatar Arvur commented on August 11, 2024

This is clean install with default configuration. Reproduced on two PC-s.
Configuration problems seem the right reason but I cannot see how to fix it.

from cgp.

BubonicPestilence avatar BubonicPestilence commented on August 11, 2024

Can you share .htaccess and vhost configuration?

from cgp.

Arvur avatar Arvur commented on August 11, 2024

Here they are. Both are default though.
htaccess+vhosts.zip

from cgp.

BubonicPestilence avatar BubonicPestilence commented on August 11, 2024

$CONFIG['rrd_url'] what value you have in conf/config.php ?

Also share config.php :D

from cgp.

BubonicPestilence avatar BubonicPestilence commented on August 11, 2024

And httpd -M output :)

from cgp.

Arvur avatar Arvur commented on August 11, 2024

arvur@F3JP ~ $ httpd -M
httpd: command not found

arvur@F3JP ~ $ apachectl -M
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_prefork_module (shared)
negotiation_module (shared)
php7_module (shared)
setenvif_module (shared)
status_module (shared)

config.local.php.zip

from cgp.

Arvur avatar Arvur commented on August 11, 2024

config.php is unchanged:
$CONFIG['rrd_url'] = 'rrd.php?path={file_escaped}';

from cgp.

BubonicPestilence avatar BubonicPestilence commented on August 11, 2024

Let's simplify .htaccess, check output headers for requests after applying this.

Options -Indexes

<IfModule mod_deflate.c>
    Header set x-bp-deflate works
    
    <FilesMatch "rrd.php\$">
        Header set x-bp-filesmatch works
        
        SetOutputFilter DEFLATE
    </Files>
</IfModule>

RewriteEngine On
RewriteRule ^.git(ignore|/) - [F,L]

from cgp.

Arvur avatar Arvur commented on August 11, 2024

I've added this to vhosts

<Directory / >
    AllowOverride All
</Directory>

and your .htaccess modification. No new fields in response ((

from cgp.

Arvur avatar Arvur commented on August 11, 2024

Ah! Got it to work. Correct vhost modification:

<Directory "/var/www/html" >
    AllowOverride All
</Directory>

And fix for mod_rewrite in .htaccess:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^.git(ignore|/) - [F,L]
</IfModule>

from cgp.

BubonicPestilence avatar BubonicPestilence commented on August 11, 2024

What about headers?

from cgp.

Arvur avatar Arvur commented on August 11, 2024

Invalid command 'Header' in error.log

from cgp.

BubonicPestilence avatar BubonicPestilence commented on August 11, 2024

Can you enable/install mod_headers, it will be simplier to debug :)

from cgp.

Arvur avatar Arvur commented on August 11, 2024

No need to debug, pull requests #156 and #157 fixed my problem.

BubonicPestilence, thanks a lot for your support!

from cgp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.