
LQ Marshall wrote:
-----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Per olof Ljungmark Sent: Tuesday, October 14, 2008 4:23 PM To: User questions and discussions about OTRS. Subject: Re: [otrs] DirectoryIndex anyone?
Nils Breunese (Lemonbit) wrote:
Per olof Ljungmark wrote:
After a few pains moving OTRS from Apache 1.3 to 2.2 I'm left with one(?) final piece that I cannot get my grips on: How do I configure Apache to use index.pl for DirectoryIndex?
http://mytld/otrs/ just returns the directory listing so I have to point to http://mytld/otrs/index.pl explicitly to get the login page. Set 'DirectoryIndex index.pl' in your server config/virtual host config/directory config/.htaccess file.
http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex
Did that but for some reason it won't catch - tried in several places but no joy.
Did you bounce apache? Is the file in the correct physical location/directoy?
Yes I did and yes it is, the missing piece was -Indexes which I thought was the default when DirectoryIndex is set but apparently it was not, it had to be set explicitly. I cannot tell (yes) why this is the case here, according to the Apache docs a DirectoryIndex should do the job and this is my own experience. This is also the reason I choose to post @otrs instaed of the Apache list. Thanks,