Brian,

Are you using USE="vhost" when emerging?  This allows otrs to have its
own apache DocumentRoot and gentoo will install it in
/var/www/otrs.bookmasters.com instead of /var/www/localhost for example.

I am running otrs on gentoo and this is how I did it.  Once you have it
installed like that, you have to edit the Config.pm like the docs say to
tell otrs your root dir (/var/www/otrs.bookmasters.com/otrs), database
info, etc.

The last two things I had to do were create the vhost file and configure
apache for perl.  I use apache 1.3 because mod_perl for 2.0 is still
beta.

Your vhost file could look like this (this goes in
/etc/apache/vhosts.d):

NameVirtualHost *
<VirtualHost *>
  ServerName otrs.bookmasters.com
  DocumentRoot /var/www/otrs.bookmasters.com/otrs/var/httpd/htdocs

  Alias /otrs-web/
"/var/www/otrs.bookmasters.com/otrs/var/httpd/htdocs/"
  Alias /otrs/ "/var/www/otrs.bookmasters.com/otrs/bin/cgi-bin/"

  <Location /otrs>
    SetHandler  perl-script
    PerlHandler Apache::Registry
    Options ExecCGI
    PerlSendHeader On
    PerlSetupEnv On
  </Location>
</VirtualHost>

In /etc/apache/modules.d, I have a file called 75_mod_perl.conf which
has this in it:

<IfDefine PERL>
LoadModule perl_module    extramodules/libperl.so
</IfDefine>

And thats it...  Restart apache and it should work.  You will of course
have to preload the database from the command line.  I did not use the
installer.pl method.

Aaron Bostick

>I have a Gentoo install, and emerged otrs from it (1.3.1 I believe).  I

>think I have everything set as well as I'm going to get it right now.
I 
>can go to http://address/otrs, but it brings up index.html, which in 
>turn points to /orts/index.pl.  Well, it appears Gentoo has done 
>something a little strange.
>System wise, the directory is: /var/www/localhost/htdocs/otrs (then 
>index.html and images directory are here).  There is also 
>/var/www/localhost/cgi-bin/orts, and /var/www/localhost/otrs-1.3.1.  I 
>think index.pl was in the cgi-bin directory.  Now, how do I link that? 
>I'm lost as to where to go from here.
>--
>Brian Ronk
>System Administrator
>BookMasters, Inc

_______________________________________________
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