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

AllowOverride All Failure in verify-install.php #73

Open
pthoelken opened this issue Sep 7, 2018 · 15 comments
Open

AllowOverride All Failure in verify-install.php #73

pthoelken opened this issue Sep 7, 2018 · 15 comments

Comments

@pthoelken
Copy link

pthoelken commented Sep 7, 2018

Hello Again,

I have a little strange problem. While the installing process, the verify-install.php told me, that I must enable "URL ReWrite" - but this is now enabled. I have also already restarted the whole server.

My virtual host section for my subdomain (000-default.conf)

<VirtualHost mcc.XXX.de:80>
        ServerName XXX.XXX.de
        ServerAdmin webmaster@localhost
        DocumentRoot /opt/applications/minecraft-webconsole

        RewriteEngine On
        RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]

        <Directory "/opt/applications/minecraft-webconsole">
                Options Indexes FollowSymLinks
                AllowOverride All
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/XXX.XXX.de/error.log
        CustomLog ${APACHE_LOG_DIR}/XXX.XXX.de/access.log combined

        Header always set Strict-Transport-Security "max-age=15552000; includeSubdomains;"

        LogLevel info ssl:warn
</VirtualHost>

My virtual host section for my subdomain (000-default.conf)

<VirtualHost XXX.XXX.de:443>
                ServerAdmin webmaster@localhost
                ServerName XXX.XXX.de

                DocumentRoot /opt/applications/minecraft-webconsole

                 <Directory "/opt/applications/minecraft-webconsole">
                        Options Indexes FollowSymLinks
                        AllowOverride All
                        Require all granted
                </Directory>

                Header always set Strict-Transport-Security "max-age=15552000; includeSubdomains;"

                ErrorLog ${APACHE_LOG_DIR}/XXX.XXX.de/error.log
                CustomLog ${APACHE_LOG_DIR}/XXX.XXX.de/access.log combined


                SSLEngine on

                SSLCertificateFile      /etc/letsencrypt/live/XXX/fullchain.pem
                SSLCertificateKeyFile /etc/letsencrypt/live/XXX/privkey.pem

                <FilesMatch "\.(cgi|shtml|phtml|php)$">
                        SSLOptions +StdEnvVars
                </FilesMatch>

                <Directory /usr/lib/cgi-bin>
                        SSLOptions +StdEnvVars
                </Directory>

        </VirtualHost>

and rewrite module is also enabled.

image

But your installer told me still, that I should enabled this.

image

AccessFileName is also configured:
image

Sorry, but I have really no Idea - Can do you help me in this case? :/

@Eywek
Copy link
Member

Eywek commented Sep 9, 2018

Do you have .htaccess file in your files?

@pthoelken
Copy link
Author

Yes - check the screenshot below.

image

@Eywek
Copy link
Member

Eywek commented Sep 9, 2018

If you go to site.fr/test-url-rewrite did you have a 404 error page?

@pthoelken
Copy link
Author

As you can see, nope. The Domain is mcc.knusperbude.de

image

@Eywek
Copy link
Member

Eywek commented Sep 9, 2018

Try to replace this line https://github.com/MineWeb/MineWebCMS/blob/master/app/webroot/verif-install.php#L248 to:

$compatible['rewriteUrl'] = true;

@pthoelken
Copy link
Author

Oh, okey. Now it looks better. I will check the installation and will give you a feedback asap.

@pthoelken
Copy link
Author

Hmm.. is this caused by mod_rewrite? The database would successfully installed.

image

image

@Eywek
Copy link
Member

Eywek commented Sep 10, 2018

Yep :/

@pthoelken
Copy link
Author

Damn ... but what is the Solutions for this? I've already installed and enabled the mod_rewrite, as you can see in my posts in top of this topic. Do you have any idea? Thanks in advanced.

@pthoelken
Copy link
Author

Any updates in this case? I'm very need to use your cms because it looks beautiful. After it works, I will translate it in german language. :-)

@pthoelken
Copy link
Author

No updates in this case?

@locness3
Copy link

locness3 commented Apr 25, 2020

I'm facing the same problem, I have all htaccess-es and AccessFileName set up, and mod rewrite seems to be enabled, but going at /test-url-rewrite I get a 404 Not Found. Any updates?

@Eywek
Copy link
Member

Eywek commented Dec 23, 2020

Maybe you can try the latest release

@wildmaster84
Copy link

wildmaster84 commented May 2, 2021

Options Indexes FollowSymLinks
This is your issue, your not having apache follow the directories.

If you use "Options Indexes FollowSymLinks MultiViews" with "LoadModule ssl_module modules/mod_ssl.so" at the very top of the file, then it should resolve your issue
image

@Sytorex
Copy link
Contributor

Sytorex commented Dec 6, 2021

Does the problem persist?

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

No branches or pull requests

5 participants