iPhone Login Credentials

Moderator: crythias

Locked
Bucko77
Znuny newbie
Posts: 31
Joined: 29 Jun 2011, 16:02
Znuny Version: 3.0.8
Real Name: Stephen Buckton
Company: Kite Packaging

iPhone Login Credentials

Post by Bucko77 »

I've just installed the iPhoneHandle v1.0.3 package on my OTRS server and installed the iTunes app v1.0.3 on my iPhone. If I try to log in on my iPhone using the credentails as per below.

URL: http://FQDN of my server/otrs/json.pl
Username: my OTRS agent username
Password: my OTRS agent password

I get the error:

During initialization of the account the following error has occured:
Failed to execute request on the OTRS server. Recived an unexpected response.
405 method not allowed. The requested method POST is not allowed for the URL /otrs/json.pl
Apache/1.3.27 Server at futuresite.register.com Port 80
Please check the account data and your internet connection or conatct your administrator for assistance.

My OTRS server is on the internal network but has internet access, do I need to allow any specific ports through my firewalls?

Thanks
Stephen.
OTRS 3.0.9 & ITSM 3.0.4 running on Windows Server 2008 R2 with MySQL database, iPhonehandle 1.0.3, Active Directory LDAP integration.
Bucko77
Znuny newbie
Posts: 31
Joined: 29 Jun 2011, 16:02
Znuny Version: 3.0.8
Real Name: Stephen Buckton
Company: Kite Packaging

Re: iPhone Login Credentials

Post by Bucko77 »

Can anybody possibly assist with this query? Do I need IIS 7 installed on my server to authenticate against? I installed OTRS via otrs-3.0.9-win-installer-2.4.4.exe and haven't added any further applications to the server.

Thanks
Stephen.
OTRS 3.0.9 & ITSM 3.0.4 running on Windows Server 2008 R2 with MySQL database, iPhonehandle 1.0.3, Active Directory LDAP integration.
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: iPhone Login Credentials

Post by ferrosti »

Well, your Apache exactly tells you what the problem is.
405 method not allowed. The requested method POST is not allowed for the URL /otrs/json.pl
See http://httpd.apache.org/docs/2.0/howto/ ... onfiguring for details on how to configure that.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Bucko77
Znuny newbie
Posts: 31
Joined: 29 Jun 2011, 16:02
Znuny Version: 3.0.8
Real Name: Stephen Buckton
Company: Kite Packaging

Re: iPhone Login Credentials

Post by Bucko77 »

Hi, thanks for the information, I've very new to Apache but having read the link you provided I've updated httpd.conf with the code below, cgi-bin is the directory where json.pl is located. I restarted the services on my OTRS server but still get the same error message back?

Thanks
Stephen.

Code: Select all

    ScriptAlias /cgi-bin/ "C:/PROGRA~2/OTRS/OTRS/bin/cgi-bin/"

</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock logs/cgisock
</IfModule>

#
# "C:/PROGRA~2/OTRS/Apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/PROGRA~2/OTRS/OTRS/bin/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
OTRS 3.0.9 & ITSM 3.0.4 running on Windows Server 2008 R2 with MySQL database, iPhonehandle 1.0.3, Active Directory LDAP integration.
Locked