json.pl with HTTPAuthBasic

Moderator: crythias

Locked
djrokx
Znuny newbie
Posts: 1
Joined: 13 Mar 2012, 23:19
Znuny Version: 31200

json.pl with HTTPAuthBasic

Post by djrokx »

Hi,
I've setup a server with OTRS 3.1.2 and iPhone Handle 1.0.91 on Windows.
The agents are authenticated with mod_auth_sspi. This is the Apache config:

Code: Select all

<Directory "C:/PROGRA~2/OTRS/OTRS/bin/cgi-bin/">
	<Files json.pl>    
		Satisfy Any
		Allow from all
    </Files>
	AuthType SSPI
	SSPIAuth On
    SSPIAuthoritative On
    SSPIDomain <domain>
    SSPIUsernameCase lower
    SSPIOfferBasic On
    SSPIOmitDomain on
    Require valid-user  
	
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
The goal is to have json.pl not authenticating with sspi. I can access the json.pl from iPhone, but I'm not getting authenticated against the database.
How this can be achieved?


Another question: Is there an IDE for perl, where I can debug OTRS like a ASP.NET Application in Visual Studio (breakpoints, watching variables,...)?

Thank you!
Locked