On Thursday, September 9, 2004 04:25 pm, Robert Kehl wrote:
> Yes, I remember now, it has something to do with Apache not being able
> assigning the DirectoryIndex due to the perl-script handler being first.

Robert,

I tried incorporating your suggestions by editing the existing otrs.conf file 
in the /etc/apache2/conf.d directory.  After restarting Apache2, 
unfortunately, http://site/otrs and http://site/otrs/ still don't work.

Probably I missed something, so here's the otrs conf file.  Perhaps you or 
some other Apache2 guru on this list might have a suggestion.

Thanks!
Mark

# --
# added for OTRS (http://otrs.org/)
#
# Modified 13 September 2004 with changes from Robert Kehl
# to facilitate browsing to home page.
#
# --

# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"

# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl

# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache::Reload
PerlInitHandler Apache::Reload

# set mod_perl2 options
<Location /otrs>
#  ErrorDocument 403 /otrs/customer.pl
  ErrorDocument 403 /otrs/index.pl
  SetHandler  perl-script
  PerlHandler ModPerl::Registry
  Options +ExecCGI
  PerlOptions +ParseHeaders
  DirectoryIndex index.pl
</Location>

<LocationMatch /otrs/.*\.pl>
 Options +ExecCGI
 SetHandler cgi-script
 <IfModule mod_perl.c>
  SetHandler perl-script
  PerlHandler ModPerl::Registry
  PerlOptions +ParseHeaders
 </IfModule>
</LocationMatch>

<Location /otrs-web>
  Order allow,deny
  Allow from all
</Location>

# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400

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


-- 
_________________________________________________
L. Mark Stone

Reliable Networks of Maine, LLC
477 Congress Street
Portland, ME 04101
Tel: (207) 772-5678

************************************************
* Please note that my cell number has changed! *
*       The new number is (207) 615-1529       *
* The old number will be retired by Sept 15th. *
************************************************
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to