Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for mod_rewrite even when PHP is run as CGI #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dliessi
Copy link
Contributor

@dliessi dliessi commented Mar 30, 2020

The first commit fixes a bug in current admin/vfront.info.php, where apache_get_modules() is used without checking if it is available.
The second commit adds a test for the availability of mod_rewrite that seems to work even if PHP is run as CGI, since it directly tests if mod_rewrite is working.
I didn't squash them because you may judge that you are interested only in the first one.

@marciuz
Copy link
Owner

marciuz commented May 10, 2020

Hi Davide,

indeed, I world like to merge only the first commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants