LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-03-2013, 04:01 AM   #1
seabro
LQ Newbie
 
Registered: Jan 2010
Posts: 26

Rep: Reputation: 0
'Internal Server Error' on Webserver (SMEServer 8)


Hi all,

I am following the instructions at http://wiki.contribs.org/OTRS to setup OTRS.

I have downloaded a slightly newer version of OTRS. (3.2.3-01) and I am using SME server 8.

All is well until I create the httpd template and expand it - effectively adding some config to the httpd.conf.

After doing this, my webserver is broken. (Internal Server Error when I try to access a legit URL on the server.).

The template / config looks like this.

#OTRS

Alias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"

PerlRequire /opt/otrs/scripts/apache2-perl-startup.pl

PerlModule Apache::Reload
PerlInitHandler Apache::Reload

MaxRequestsPerChild 400

<Location /otrs>
ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
AllowOverride All
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI +FollowSymlinks
</Location>
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>


I have all the required deps, as I ran otrs.CheckModules.pl and the only modules I don't have are optional.

I have also run:

signal-event post-upgrade
signal-event reboot

and even restarted the service / server but that didn't help.

I am running in a VM and have a snapshot I can revert to just before the template creation/expansion so I know thats what breaks my webserver.

Any assistance greatly appreciated.

seabro
 
Old 04-04-2013, 12:20 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Use this attribute in your config
Code:
    <Directory /path/of/your/otrs/directory>
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    </Directory>
Restart httpd server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 505- Internal server error - The server encountered an internal error or misconfigura physnastr Linux - Server 7 11-17-2011 04:57 PM
Accessing an Internal Webserver from my Public Webserver rtoney5 Linux - Server 1 12-18-2009 05:41 PM
redirect from webserver to internal server in lan in rhel4.0 msb_suresh80 Linux - Newbie 1 10-10-2008 11:31 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
Internal DNS server / Webserver MightyCranium Linux - Networking 6 04-02-2003 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration