OTRS 3.1.11 Installation from Source on Windows 2003

Moderator: crythias

Locked
eduardogdom
Znuny newbie
Posts: 5
Joined: 12 Nov 2012, 18:46
Znuny Version: 3.2.2

OTRS 3.1.11 Installation from Source on Windows 2003

Post by eduardogdom »

I am trying to install OTRS 3.1.11 but I'm facing some problems.

Because I already have a MySQL Server and an Apache Server installed in my server, I had to get the otrs-3.1.11.zip file from the Download Center and install the software from source.

From the Admin Manual, I followed the instructions described in the "Manual Installation (Linux/Unix)" section and everything was going ok, until the "Configuring the Apache web server" instructions.

Basically, after follow the instructions, I'm getting this error in the Apache log: "[Mon Nov 12 15:00:35 2012] [error] [client xx.xx.xx.xx] attempt to invoke directory as script: C:/otrs/bin/cgi-bin/";

I googled a little and already have tried the change suggested by the Apache Wiki in "http://wiki.apache.org/httpd/DirectoryAsScript" without success.

So, before follow on, is there some specific configuration for Apache in Windows environment?!


Thank you in advance,
Eduardo.
eduardogdom
Znuny newbie
Posts: 5
Joined: 12 Nov 2012, 18:46
Znuny Version: 3.2.2

Re: OTRS 3.1.11 Installation from Source on Windows 2003

Post by eduardogdom »

No tips?! Nobody's tried to install OTRS in Windows environment with an Apache Server and MySQL Server already installed before??
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS 3.1.11 Installation from Source on Windows 2003

Post by reneeb »

Can you show us you current apache config (the part that is needed for OTRS)?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
eduardogdom
Znuny newbie
Posts: 5
Joined: 12 Nov 2012, 18:46
Znuny Version: 3.2.2

Re: OTRS 3.1.11 Installation from Source on Windows 2003

Post by eduardogdom »

# --
# added for OTRS (http://otrs.org/)
# $Id: apache2-httpd.include.conf,v 1.25 2011/11/05 17:39:09 mb Exp $
# --

#==========================================

#ScriptAlias /otrs "C:/otrs/bin/cgi-bin"
#<Directory "C:/otrs/bin/cgi-bin">
# AllowOverride None
# Options +ExecCGI -Includes
# Order allow,deny
# Allow from all
#</Directory>

Alias /otrs "C:/otrs/bin/cgi-bin"
<Directory "C:/otrs/bin/cgi-bin">
AllowOverride None
AddHandler cgi-script pl
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>

#=========================================

Alias /otrs-web "C:/otrs/var/httpd/htdocs"
<Directory "C:/otrs/var/httpd/htdocs">
AllowOverride None
Order allow,deny
Allow from all
</Directory>

#==========================================

<IfModule mod_headers.c>
<Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache">
<FilesMatch "\.(css|CSS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>

<Directory "/opt/otrs/var/httpd/htdocs/js/js-cache">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
</IfModule>

# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 4000
I tried to change the suggested "otrs.conf" file to solve the first problem "[Mon Nov 12 15:00:35 2012] [error] [client xx.xx.xx.xx] attempt to invoke directory as script: C:/otrs/bin/cgi-bin/", but now I'm getting another error from Apache: "[error] [client xx.xx.xx.xx] Directory index forbidden by Options directive: C:/otrs/bin/cgi-bin/".

P.S.: Both errors generate a "HTTP 403 Forbidden" problem in web browser.
PeterJ
Znuny newbie
Posts: 1
Joined: 07 Mar 2013, 18:55
Znuny Version: 3.2.2

Re: OTRS 3.1.11 Installation from Source on Windows 2003

Post by PeterJ »

I would also like to install OTRS helpdesk on exisiting windows server that also has apache/mysql already installed. Could you give any advice on the best way to go about this?

Thanks
Locked