Ticket #195 (assigned defect)
.htaccess should be generated dynamically/manually
| Reported by: | sdcosta | Owned by: | mbonetti |
|---|---|---|---|
| Priority: | low | Milestone: | Gregarius 0.5.5 |
| Component: | FEATURES | Version: | |
| Severity: | normal | Keywords: | htaccess |
| Cc: |
Description
The .htaccess file should be generated dynamically to prevent server configuration errors on different apache installations.
When the user opens the first gregarius page and the schema is created and default options are set, we should ask whether mod_rewrite is to be set and create the .htaccess file accordingly. This will allow a user to realize that there is a problem with the .htaccess file and the user can be warned to remove it, if it creates errors.
I also have a problem with multiviews. http://svn.gregarius.net/trac/changeset/582 We have a
Option -Multiviews
in the .htaccess file but my default gentoo install of apache does not allow this option to be overwritten in the user's directory. Maybe this option can also be dynamically put in, if required and does not create an error. Is this option necessary for gregarius to work properly?
Dynamic/manual generation of the .htaccess file will make installation of gregarius less of a problem.
