View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - API Activation - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

API Activation

More
20 Déc 2017 11:36 #1 by sogeti
API Activation was created by sogeti
Hello everyone,

I'm asking you for a problem activating the ProjeQtOr API.
I am having trouble activating the htaccess file with the htpasswd file.
In my htpasswd file, I have crawled identifiers and crawled words, so everything looks normal.
At the time of verification of the activation, I connect via the address http://*server*/api, I enter an identifier present in the file htpasswd and the password but I am rejected.
I manage to communicate with the API by overriding the validation of the htaccess file.
I do not see what blocks in my htaccess file, it is standard, nothing has been changed in this one.

My htaccess file :
<IfModule mod_rewrite.c>
 RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?uri=$1
</IfModule>


AuthUserFile "/Applications/MAMP/htdocs/api/.htpasswd"
AuthName "projeqtor"
AuthType Basic
require valid-user

Thanks in advance,

Best Regards,

Please Connexion or Create an account to join the conversation.

More
21 Déc 2017 09:59 #2 by babynus
Replied by babynus on topic API Activation
I think issue is on the .htpassword.
For instance, this file requires crypoted password.
You must use a tool to generate wontent of .htppassword, and most web tools will give wrong data (I gues it will depend on your system, apache version or else).
Best is to use the htpasswd command on linud (worked fine for me)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
21 Déc 2017 11:59 #3 by sogeti
Replied by sogeti on topic API Activation
Thank you for your comeback.

It is mandatory to use the htaccess method to use the API ?

Please Connexion or Create an account to join the conversation.

More
21 Déc 2017 12:23 - 21 Déc 2017 12:23 #4 by babynus
Replied by babynus on topic API Activation
If is not mandatory to have API work.

It is mandatory to set some security in API usage.
Take care that API can read and update all your Data.
So non secured access may be a leak access to your data.
If you run ProjeQtOr without internet access (only opened on your local network) and you trust your team, then you may disable htaccess (but this is not advised).

Babynus
Administrator of ProjeQtOr web site
Last edit: 21 Déc 2017 12:23 by babynus.

Please Connexion or Create an account to join the conversation.

More
21 Déc 2017 15:51 #5 by sogeti
Replied by sogeti on topic API Activation
I thank you for your information.

As Regards API key, it is used to write, update or delete ?

Thank you in advance.

Best regards,

Please Connexion or Create an account to join the conversation.

More
21 Déc 2017 15:53 #6 by babynus
Replied by babynus on topic API Activation

As Regards API key, it is used to write, update or delete ?

Yes

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: sogeti

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.043 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.