
Hi,
I am trying to set DirectoryIndex to index.pl so that index.pl will load
as the default document under the otrs directory. Does anyone have a
clue how to do this? I can't seem to find my way around the apache
configuration to get it to work. I am trying to set directoryIndex as
follows but it wont work. Any idea why?
/etc/httpd/conf.d/otrs.conf:
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# if mod_perl is used
<IfModule mod_perl.c>
# 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

You tried to use an url ending with /otrs/cgi-bin ?
2008/6/19 Lombardi Tonio at MFSS
Hi,
I am trying to set DirectoryIndex to index.pl so that index.pl will load as the default document under the otrs directory. Does anyone have a clue how to do this? I can't seem to find my way around the apache configuration to get it to work. I am trying to set directoryIndex as follows but it wont work. Any idea why?
/etc/httpd/conf.d/otrs.conf:
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# if mod_perl is used
<IfModule mod_perl.c>
# 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
# ErrorDocument 403 /otrs/customer.pl
AllowOverride None
ErrorDocument 403 /otrs/index.pl
PerlHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
Order allow,deny
Allow from all
SetHandler perl-script
</Location>
</IfModule>
# directory settings
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
DirectoryIndex index.pl
</Directory>
AllowOverride None
Order allow,deny
Allow from all
Regards,
Tonio Lombardi ICT Applications Officer
Information Management Unit Ministry for Social Policy Valletta, Malta
tel: +356 2590 3342 fax: +356 2590 3331 e-mail: tonio.lombardi@gov.mt www.spic.gov.mt www.msp.gov.mt
Please read our privacy policy: http://www.msp.gov.mt/ministry/email_privacy_policy.asp
_______________________________________________ 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 or consulting for your OTRS system? => http://www.otrs.com/
participants (2)
-
Lombardi Tonio at MFSS
-
Sébastien Prud'homme