Giter Club home page Giter Club logo

Comments (6)

rodber avatar rodber commented on August 17, 2024 1

You are missing something like a url rewrite module / rules. Not script issue.

from chevereto-free.

h4knet avatar h4knet commented on August 17, 2024

Ok fixed; missed AllowOverride All in vhost config..

Maybe you could add this check in the web_installer to prevent other people get the same issue ?

Thanks for help!

from chevereto-free.

rodber avatar rodber commented on August 17, 2024

You can't check that from PHP.

from chevereto-free.

h4knet avatar h4knet commented on August 17, 2024

Hum; I'm not a PHP dev but I do believe you can.
Owncloud/Nextcloud does it when you run their installer (and it's an appreciated feature); therefore a quick check on Google seems to show it's possible too : https://stackoverflow.com/questions/9021425/how-to-check-if-mod-rewrite-is-enabled-in-php

Thanks anyway for your help :) Have a good day !

from chevereto-free.

bykidi avatar bykidi commented on August 17, 2024

as a nextcloud owner - can confirm. nextcloud installation checks for overrides when installing it

from chevereto-free.

rodber avatar rodber commented on August 17, 2024

In case you didn't notice, Chevereto already checks if the module is there in app/lib/integrity-check.php

Thing is that check if a module is "on" doesn't tell you if the virtual host is configured properly.

I don't know how Nextcloud checks that stuff, I wasn't able to find any of that in the code. The thing is that, in most cases, PHP can't read the virtual host file (and read/parse that file on every load is not feasible).

I assume that Nextcloud does some validation using something else, maybe a HTTP head request to a /virtual-path or a shell script. It won't surprise me since that system needs lots of plugs in the webserver to work with.

from chevereto-free.

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.