[Bug 4817] New: mod_rewrite not enabled after installation
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4817 Summary: mod_rewrite not enabled after installation Change sponsored?: --- Product: Koha Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: Packaging AssignedTo: lars@catalyst.net.nz ReportedBy: magnus@enger.priv.no QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 I just did "sudo apt-get install koha" on an updated version of Debian Squeeze and ran into this problem: "sudo /etc/init.d/apache2 start" reported: Starting web server: apache2Syntax error on line 82 of /etc/apache2/sites-enabled/koha: Invalid command 'RewriteEngine', perhaps isspelled or defined by a module not included in the server configuration Action 'start' failed. "sudo a2enmod rewrite" solved the problem. Package number reported by "apt-cache policy koha": 3.2~git20100526180903.b4291124 -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4817 --- Comment #1 from Lars Wirzenius <lars@catalyst.net.nz> --- mod_rewrite is not enabled on purpose: it would be bad for a Debian package to automatically modify the configuration of another package, or the host it gets installed on. For this reason, the koha package contains instructions in /usr/share/doc/koha/README.Debian for what to do after the package is installed, and a koha-post-install-setup script to do some of the things. I will add a pointer to the README.Debian file to the package description and also to the output in postinst when the package is installed. Some day in the future it would be possible to add a configuration question during package installation about mod_rewrite, and do this automatically. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4817 Lars Wirzenius <lars@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4817 --- Comment #2 from Magnus Enger <magnus@enger.priv.no> --- Good points. I guess the real bug here was a lack of a pointer to /usr/share/doc/koha/README.Debian, then. I see there is already a patch for adding it to postinst, but would it be possible to mention it in http://debian.koha-community.org/koha/README too? Since that was the starting point of the installation, at least for me, it might be nice to know about all the steps involved up front. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4817 --- Comment #3 from Lars Wirzenius <lars@catalyst.net.nz> --- Magnus, that's a good point. Added it to the README and published that. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4817 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Magnus Enger <magnus@enger.priv.no> --- Great, thanks! I'll just close this bug then. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4817 Lars Wirzenius <lars@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lars@catalyst.net.nz |robin@catalyst.net.nz -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org