Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#388: htaccess creation needs addressing

I’m finding it irritating to have to always remove any existing htaccess files while installing Symphony. Is there no way that Symphony can append to an existing htaccess file? I usually have a development area which has password protection, and therefore an existing htaccess, which I have to rename and then copy the contents out of it into the Symphony created one.

Just a thought…

I am working on a htaccess rewrite abstraction layer, which can load htaccess files.

It is far from finished though, so maybe there is a quicker solution?

Is there no way that Symphony can append to an existing htaccess file?

The installer could be updated to do this. It would depend on the existing .htaccess being writable.

So, I guess there should be 3 situations.

  1. Existing .htaccess, but not writable. Throw error asking to either make it writable, or remove it.
  2. Existing, and writable. Append to it. This could clash with existing rules, but thats really up to the person installing to deal with.
  3. No .htaccess, so create one.

I would think they are all reasonable.

Should add, I think this is really a feature addition. It will be looked at for 2.2+

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details