contao / check

Contao Check
GNU Lesser General Public License v3.0
47 stars 23 forks source link

[Apache] Include 'AllowOverride' check #129

Closed ADoebeling closed 4 years ago

ADoebeling commented 7 years ago

If you try to install contao4 on a default-apache with 'AllowOverride none(and without permission to edit the vHost.conf) the.htaccess` and the defined page alias aren't working

fritzmg commented 7 years ago

I am not sure if this is something we can and should check. In order to retrieve configuration options from Apache, mod_info needs to be enabled (see here for example).

ADoebeling commented 7 years ago

Maybe we could check this by try and error?

apache-check/.htaccess => RewriteRule that loads a specific .txt-file

check if /apache-check/ returns the content of the txt-file?

fritzmg commented 7 years ago

This could at most only be a warning, since it's up to the user which web server to use and how to configure it.

ADoebeling commented 7 years ago

This could at most only be a warning, since it's up to the user which web server to use

It makes sense to perform the /apache-check/ only if the detected webserver is an apache. ;-)

and how to configure it.

I'd expect that apache-configurations that don't allow you to use a .htaccess with rewrite-rules are a problem for the most users.

fritzmg commented 4 years ago

This should be integrated into the Contao Manager, if at all.