opengovfoundation / madison

Madison is a platform for lawmakers to share legislation with their citizens, allowing the community to add comments and suggest improvements.
GNU General Public License v3.0
675 stars 108 forks source link

apache vhost configuration triggers an error #1062

Closed IuliiSe closed 7 years ago

IuliiSe commented 7 years ago

Apache does not restart after setting up the apache vhost by following the example configuration as seen in docs/apache.conf.example apache2[29815]: AH00526: Syntax error on line 15 of /etc/apache2/sites-enabled/apache.conf: apache2[29815]: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration apache2[29815]: Action 'configtest' failed.

sethetter commented 7 years ago

@IuliiSe could you show the contents of that file? Could you also show the operating system and apache version being used?

IuliiSe commented 7 years ago

Apache/2.4.18 (Ubuntu)

Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-42-generic x86_64)

On 14 November 2016 at 19:07, Seth Etter notifications@github.com wrote:

@IuliiSe https://github.com/IuliiSe could you show the contents of that file? Could you also show the operating system and apache version being used?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/opengovfoundation/madison/issues/1062#issuecomment-260412845, or mute the thread https://github.com/notifications/unsubscribe-auth/AMyFJWB4C9Sm5D6MNKBQQsbj_DYnflcCks5q-KNWgaJpZM4Kxn8X .

IuliiSe commented 7 years ago

Solved

sethetter commented 7 years ago

@IuliiSe great! What was the issue?

IuliiSe commented 7 years ago

Needed to activate mod_rewrite

sudo a2enmod rewrite

sethetter commented 7 years ago

That would do it ;) glad it's resolved!