Forum

[SOLVED] api/.htacc...
 
Notifications
Retirer tout

[SOLVED] api/.htaccess gets overwritten during Projeqtor upgrade

3 Posts
2 Utilisateurs
0 Reactions
3,109 Vu
(@angeltek)
Posts: 17
Active Member
Début du sujet
 
[#6194]

To prevent this I suggest that api/.htaccess be renamed api/.htaccess.example . Because this will leave the API in an insecure state, I also suggest that Projeqtor ships with $paramDisableAPI=true in its initial parameters.php file.

The reason for needing to ensure non-overwriting is that api/.htaccess currently specifies AuthUserFile as a relative path... ie relative to ServerRoot which is often set to /etc/httpd (at least on Fedora / Redhat & derivatives). So rather than forcing the use of /etc/httpd/.htpasswd (which is not a good choice on a multi-site server) it would be better for the administrator to be able to specify an absolute path of their choosing... which in turns means that changes to api/.htaccess should persist across upgrades.


 
Posté : 16 Août PM 20:088
(@babynus)
Posts: 14952
Membre Admin
 

Request recorded as Ticket #4156


 
Posté : 19 Août PM 16:088
(@angeltek)
Posts: 17
Active Member
Début du sujet
 

Many thanks.


 
Posté : 19 Août PM 16:088
Share:
Retour en haut