htaccess creation needs addressing
A suggestion for 2.2, submitted by designermonkey on 16 August 2010
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 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.
- Existing
.htaccess
, but not writable. Throw error asking to either make it writable, or remove it. - Existing, and writable. Append to it. This could clash with existing rules, but thats really up to the person installing to deal with.
- 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+
Fixed in this commit
This issue is closed.
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…