Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-08 Thread rtjoe


Thnx for help Thomas 

But i've decided to make this in an alternative way with aliases . and
it works :)



but thanks anyway 


grettings rtjoe 



-- 
View this message in context: 
http://old.nabble.com/Request-Tracker-Doesn%27t-work-properly--Web-if-Doesnt-show-all-Elements-tp30843030p30873323.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-07 Thread rtjoe

is it the right file you've mentioned?

rtjoe wrote:
 
 Hello Thomas
 
 RT_SiteConfig.pm: 
 
 # Any configuration directives you include  here will override 
 # RT's default configuration file, RT_Config.pm
 #
 # To include a directive here, just copy the equivalent statement
 # from RT_Config.pm and change the value. We've included a single
 # sample value below.
 #
 # This file is actually a perl module, so you can include valid
 # perl code, as well.
 #
 # The converse is also true, if this file isn't valid perl, you're
 # going to run into trouble. To check your SiteConfig file, use
 # this comamnd:
 #
 #   perl -c /path/to/your/etc/RT_SiteConfig.pm
 
 #Set( $rtname, 'example.com');
 #Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
 1;
 
 #TIMEZONE . takes the timezone from linux installation.
  my $zone = UTC;
  $zone='/bin/cat /etc/timezone'
  if -f /etc/timezone;
  chomp $zone;
  Set($Timezone, $zone);
  # THE BASICS:
  Set($rtname, 'rtsdatabase');
  Set($Organization, 'rt.example.com');
 Set($CorrespondAddress , '');
 Set($CommentAddress , 'rt-comm...@example.com');
  # THE WEBSERVER:
  Set($WebPath , /);
  Set($WebBaseURL , http://rt.example.com;);
  # THE DATABASE:
  Set($DatabaseType, 'mysql');
  Set($DatabaseHost, 'localhost');
  Set($DatabaseUser , 'rt_user');
  Set($DatabasePassword , 'wibble');
  Set($DatabaseName, 'rt3');
 Set($RTAddressRegexp ,
 '^help(-comment)?\@(help|admin)\.(example\.org|ourother\.domain\.com)$');
 
 I think you mean this :
 
 http://ipadresse/rt/index.html
 
 !DOCTYPE html 
  PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 !--
 % $m-out('--'.'');
 % $m-comp('/Elements/Header', Title=loc(RT at a glance), Refresh =
 $session{'home_refresh_interval'}||RT-Config-Get('HomePageRefreshInterval',
 $session{'CurrentUser'} ));
 % if (0) {
 %# --
 htmlhead
 meta http-equiv=refresh content=30;
 url=http://bestpractical.com/rt/rt-broken-install.html;
 titleAlmost there!/title/head
 body
 
  http://www.bestpractical.com/images/unconfigured-rtlogo.jpg 
 br /br /
 h1You're almost there!/h1
 You haven't yet configured your webserver to run RT.
 
 You appear to have installed RT's web interface correctly, but haven't yet
 configured your web
 server to run the RT server which powers the web interface.
 
 The next step is to edit your webserver's configuration file to instruct
 it to use
 RT's strongmod_perl/strong, strongFastCGI/strong or
 strongSpeedyCGI/strong handler.
 
 If you need commercial support, please contact us at
 sa...@bestpractical.com.
 
 
 !--
 % }
 
 %# BEGIN BPS TAGGED BLOCK {{{
 %# 
 %# COPYRIGHT:
 %# 
 %# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
 %#  je...@bestpractical.com
 %# 
 %# (Except where explicitly superseded by other copyright notices)
 %# 
 %# 
 %# LICENSE:
 %# 
 %# This work is made available to you under the terms of Version 2 of
 %# the GNU General Public License. A copy of that license should have
 %# been provided with this software, but in any event can be snarfed
 %# from www.gnu.org.
 %# 
 %# This work is distributed in the hope that it will be useful, but
 %# WITHOUT ANY WARRANTY; without even the implied warranty of
 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 %# General Public License for more details.
 %# 
 %# You should have received a copy of the GNU General Public License
 %# along with this program; if not, write to the Free Software
 %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 %# 02110-1301 or visit their web page on the internet at
 %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:
 %# 
 %# (The following paragraph is not intended to limit the rights granted
 %# to you to modify and distribute this software under the terms of
 %# the GNU General Public License and is only of importance to you if
 %# you choose to contribute your changes and enhancements to the
 %# community by submitting them to Best Practical Solutions, LLC.)
 %# 
 %# By intentionally submitting any modifications, corrections or
 %# derivatives to this work, or any other work intended for use with
 %# Request Tracker, to Best Practical Solutions, LLC, you confirm that
 %# you are the copyright holder for those contributions and you grant
 %# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
 %# royalty-free, perpetual, license to use, copy, create derivative
 %# works based on those contributions, and sublicense and distribute
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
  /Elements/Tabs, 
 Title  = loc(RT at a glance),
 current_tab= 'index.html',
 current_toptab = 'index.html',
 tabs   = $tabs,
 actions= $actions,
 
  /Elements/ListActions, actions = \@results 
  /Elements/MyRT 
 %init
 
 my @results;
 my $skip_create = 0;
 

Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-07 Thread Thomas Sibley
On 07 Feb 2011 02:41, rtjoe wrote:
  # THE WEBSERVER:
  Set($WebPath , /);
  Set($WebBaseURL , http://rt.example.com;);

You should replace the two lines above with just:

Set($WebDomain, rt.example.com);

Read perldoc etc/RT_Config.pm to find out why.

  # THE DATABASE:
  Set($DatabaseType, 'mysql');
  Set($DatabaseHost, 'localhost');
  Set($DatabaseUser , 'rt_user');
  Set($DatabasePassword , 'wibble');

You might want to change your db password now if that's the actual
password above.

 I think you mean this :
 
 http://ipadresse/rt/index.html

That's not the file I meant.  I meant viewing the source from your
browser on the page in this screenshot:

 If i try to connect to my RT Site it comes this picture:

  http://old.nabble.com/file/p30843030/rtpicture5.jpg 

 You're not getting the images or CSS.  What are the CSS urls in the HTML
 source?  And the image url?

 Thomas

But fix the config and restart Apache first.

Thomas


Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-06 Thread rtjoe

Hello Thomas

RT_SiteConfig.pm: 

# Any configuration directives you include  here will override 
# RT's default configuration file, RT_Config.pm
#
# To include a directive here, just copy the equivalent statement
# from RT_Config.pm and change the value. We've included a single
# sample value below.
#
# This file is actually a perl module, so you can include valid
# perl code, as well.
#
# The converse is also true, if this file isn't valid perl, you're
# going to run into trouble. To check your SiteConfig file, use
# this comamnd:
#
#   perl -c /path/to/your/etc/RT_SiteConfig.pm

#Set( $rtname, 'example.com');
#Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
1;

#TIMEZONE . takes the timezone from linux installation.
 my $zone = UTC;
 $zone='/bin/cat /etc/timezone'
 if -f /etc/timezone;
 chomp $zone;
 Set($Timezone, $zone);
 # THE BASICS:
 Set($rtname, 'rtsdatabase');
 Set($Organization, 'rt.example.com');
Set($CorrespondAddress , '');
Set($CommentAddress , 'rt-comm...@example.com');
 # THE WEBSERVER:
 Set($WebPath , /);
 Set($WebBaseURL , http://rt.example.com;);
 # THE DATABASE:
 Set($DatabaseType, 'mysql');
 Set($DatabaseHost, 'localhost');
 Set($DatabaseUser , 'rt_user');
 Set($DatabasePassword , 'wibble');
 Set($DatabaseName, 'rt3');
Set($RTAddressRegexp ,
'^help(-comment)?\@(help|admin)\.(example\.org|ourother\.domain\.com)$');

I think you mean this :

http://ipadresse/rt/index.html

!DOCTYPE html 
 PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
!--
% $m-out('--'.'');
% $m-comp('/Elements/Header', Title=loc(RT at a glance), Refresh =
$session{'home_refresh_interval'}||RT-Config-Get('HomePageRefreshInterval',
$session{'CurrentUser'} ));
% if (0) {
%# --
htmlhead
meta http-equiv=refresh content=30;
url=http://bestpractical.com/rt/rt-broken-install.html;
titleAlmost there!/title/head
body

http://www.bestpractical.com/images/unconfigured-rtlogo.jpg 
br /br /
h1You're almost there!/h1
You haven't yet configured your webserver to run RT.

You appear to have installed RT's web interface correctly, but haven't yet
configured your web
server to run the RT server which powers the web interface.

The next step is to edit your webserver's configuration file to instruct it
to use
RT's strongmod_perl/strong, strongFastCGI/strong or
strongSpeedyCGI/strong handler.

If you need commercial support, please contact us at
sa...@bestpractical.com.


!--
% }

%# BEGIN BPS TAGGED BLOCK {{{
%# 
%# COPYRIGHT:
%# 
%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
%#  je...@bestpractical.com
%# 
%# (Except where explicitly superseded by other copyright notices)
%# 
%# 
%# LICENSE:
%# 
%# This work is made available to you under the terms of Version 2 of
%# the GNU General Public License. A copy of that license should have
%# been provided with this software, but in any event can be snarfed
%# from www.gnu.org.
%# 
%# This work is distributed in the hope that it will be useful, but
%# WITHOUT ANY WARRANTY; without even the implied warranty of
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
%# General Public License for more details.
%# 
%# You should have received a copy of the GNU General Public License
%# along with this program; if not, write to the Free Software
%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
%# 02110-1301 or visit their web page on the internet at
%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
%# 
%# 
%# CONTRIBUTION SUBMISSION POLICY:
%# 
%# (The following paragraph is not intended to limit the rights granted
%# to you to modify and distribute this software under the terms of
%# the GNU General Public License and is only of importance to you if
%# you choose to contribute your changes and enhancements to the
%# community by submitting them to Best Practical Solutions, LLC.)
%# 
%# By intentionally submitting any modifications, corrections or
%# derivatives to this work, or any other work intended for use with
%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
%# you are the copyright holder for those contributions and you grant
%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
%# royalty-free, perpetual, license to use, copy, create derivative
%# works based on those contributions, and sublicense and distribute
%# those contributions and any derivatives thereof.
%# 
%# END BPS TAGGED BLOCK }}}
 /Elements/Tabs, 
Title  = loc(RT at a glance),
current_tab= 'index.html',
current_toptab = 'index.html',
tabs   = $tabs,
actions= $actions,

 /Elements/ListActions, actions = \@results 
 /Elements/MyRT 
%init

my @results;
my $skip_create = 0;

$m-callback( ARGSRef = \%ARGS, results = \@results, CallbackName =
'Initial', 
  skip_create = \$skip_create );

if ( $ARGS{'QuickCreate'} ) {
my $QueueObj = new 

Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-04 Thread rtjoe

Update: I tried to modify the settings with the apache2-modperl2.conf file
which is described 
http://requesttracker.wikia.com/wiki/HowToInstallRequest-Tracker3.8OnUbunto9.10
here 

this is the modified file: 
# To use RT together with mod_perl2, available in the
# libapache2-mod-perl2 package, include this file with:
#
#   Include /etc/request-tracker3.8/apache2-modperl2.conf
#
# into your Apache configuration file, in a virtual host section.

# You will need to enable the Apache modules: perl, actions, rewrite
#
# The best place for this in the Debian Apache2 default situation is
# near the end of the VirtualHost section in the file
# /etc/apache2/sites-available/default.

# You might want to enable this line
# AddDefaultCharset UTF-8

PerlModule Apache2::RequestRec Apache2::compat
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
PerlSetVar MasonArgsMethod CGI

# Normally a request for a directory will be rewritten to index.html
# (or similar) by default if that file exists. For some reason this does
# not happen with the handler being set to perl-script. We thus have to
# do it ourselves using mod_rewrite.

RewriteEngine on

# You might need to alter these two lines which refer to /rt to match
# whatever base URL you are using for your rt3 site.

RewriteRule ^/rt$ /rt/
RewriteRule ^/rt/(.*)$ /opt/rt3/share/html/$1
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(/opt/rt3/share/html/.*)/$ $1/index.html

# We need this to prevent requests for images being sent through to
# the RT::Mason handler.

Directory /opt/rt3/share/html/NoAuth/images
  SetHandler default-handler
/Directory

Directory /opt/rt3/share/html/
  SetHandler perl-script
  PerlHandler RT::Mason
/Directory

# Limit mail gateway access to localhost by default
Location /rt/REST/1.0/NoAuth
Order Allow,Deny
Allow from 127.0.0.1
/Location



But still the same Problem apperars

best regards rtjoe 






rtjoe wrote:
 
 Hello Folks 
 
 
 I have some Problem with my RT Tracker installation 
 
 System: Ubununtu 10.04 LTS under VM
 
 Request Tracker Version: 3.8.8 Tarball
 
 Installation: Manual Readme.txt
 
 I've configured Apache so far with these Settings for Virtualhost:
 
 # ip based virtual host
  VirtualHost 192.168.112.23
  ServerName rt.example.com
  DocumentRoot /opt/rt3/share/html
  AddDefaultCharset UTF-8
 
 # optional apache logs for RT
 ErrorLog /opt/rt3/var/log/apache2.error
 TransferLog /opt/rt3/var/log/apache2.access
PerlRequire /opt/rt3/bin/webmux.pl
 Location /
 SetHandler perl-script
 PerlResponseHandler RT::Mason
 /Location
 Location /NoAuth/images
 SetHandler default
 /Location
 /VirtualHost
 
 
 
 Is This Correct?
 
 So far so good
 
 If i try to connect to my RT Site it comes this picture:
 
  http://old.nabble.com/file/p30843030/rtpicture5.jpg 
 
 
   What am I doing wrong?
 
 
 best regards rtjoe
 
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Request-Tracker-Doesn%27t-work-properly--Web-if-Doesnt-show-all-Elements-tp30843030p30843971.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-04 Thread rtjoe

Update 3: 
I tried to integrate fastcgi with the following settings:
# ip based virtual host
 VirtualHost 192.168.112.23
# ServerName rt.example.com
 DocumentRoot /opt/rt3/share/html
 AddDefaultCharset UTF-8

# optional apache logs for RT
ErrorLog /opt/rt3/var/log/apache2.error
TransferLog /opt/rt3/var/log/apache2.access
   AddHandler fastcgi-script fcgi
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
Directory /opt/rt3
Options FollowSymLinks ExecCGI
AllowOverride None
/Directory


and here is the apache error.log:

[Fri Feb 04 15:27:20 2011] [alert] (4)Interrupted system call: FastCGI:
read() from pipe failed (0)
[Fri Feb 04 15:27:20 2011] [alert] (4)Interrupted system call: FastCGI: the
PM is shutting down, Apache seems to have disappeared - bye
[Fri Feb 04 15:27:20 2011] [notice] FastCGI: process manager initialized
(pid 10999)
[Fri Feb 04 15:27:20 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11000)
[Fri Feb 04 15:27:20 2011] [notice] Apache/2.2.8 (Ubuntu) mod_fastcgi/2.4.6
mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Fri Feb 04 15:27:21 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11057)
[Fri Feb 04 15:27:22 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11058)
[Fri Feb 04 15:27:23 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11060)
[Fri Feb 04 15:27:24 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11061)
[Fri Feb 04 15:27:52 2011] [notice] SIGUSR1 received.  Doing graceful
restart
[Fri Feb 04 15:27:52 2011] [alert] (4)Interrupted system call: FastCGI:
read() from pipe failed (0)
[Fri Feb 04 15:27:52 2011] [alert] (4)Interrupted system call: FastCGI: the
PM is shutting down, Apache seems to have disappeared - bye
[Fri Feb 04 15:27:52 2011] [notice] FastCGI: process manager initialized
(pid 11100)
[Fri Feb 04 15:27:52 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11101)
[Fri Feb 04 15:27:52 2011] [notice] Apache/2.2.8 (Ubuntu) mod_fastcgi/2.4.6
mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Fri Feb 04 15:27:53 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11158)
[Fri Feb 04 15:27:54 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11159)
[Fri Feb 04 15:27:55 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11161)
[Fri Feb 04 15:27:56 2011] [warn] FastCGI: server
/opt/rt3/bin/mason_handler.fcgi started (pid 11162)



But the behavior is still the same :sleep:




rtjoe wrote:
 
 Hello Folks 
 
 
 I have some Problem with my RT Tracker installation 
 
 System: Ubununtu 10.04 LTS under VM
 
 Request Tracker Version: 3.8.8 Tarball
 
 Installation: Manual Readme.txt
 
 I've configured Apache so far with these Settings for Virtualhost:
 
 # ip based virtual host
  VirtualHost 192.168.112.23
  ServerName rt.example.com
  DocumentRoot /opt/rt3/share/html
  AddDefaultCharset UTF-8
 
 # optional apache logs for RT
 ErrorLog /opt/rt3/var/log/apache2.error
 TransferLog /opt/rt3/var/log/apache2.access
PerlRequire /opt/rt3/bin/webmux.pl
 Location /
 SetHandler perl-script
 PerlResponseHandler RT::Mason
 /Location
 Location /NoAuth/images
 SetHandler default
 /Location
 /VirtualHost
 
 
 
 Is This Correct?
 
 So far so good
 
 If i try to connect to my RT Site it comes this picture:
 
  http://old.nabble.com/file/p30843030/rtpicture5.jpg 
 
 
   What am I doing wrong?
 
 
 best regards rtjoe
 
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Request-Tracker-Doesn%27t-work-properly--Web-if-Doesnt-show-all-Elements-tp30843030p30845086.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-04 Thread Thomas Sibley
On 04 Feb 2011 10:01, rtjoe wrote:
 
 Update 3: 
 I tried to integrate fastcgi with the following settings:
 # ip based virtual host
  VirtualHost 192.168.112.23
 # ServerName rt.example.com
  DocumentRoot /opt/rt3/share/html
  AddDefaultCharset UTF-8
 
 # optional apache logs for RT
 ErrorLog /opt/rt3/var/log/apache2.error
 TransferLog /opt/rt3/var/log/apache2.access
AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
 Directory /opt/rt3
 Options FollowSymLinks ExecCGI
 AllowOverride None
 /Directory

Show us your RT_SiteConfig.pm.

 If i try to connect to my RT Site it comes this picture:

  http://old.nabble.com/file/p30843030/rtpicture5.jpg 

You're not getting the images or CSS.  What are the CSS urls in the HTML
source?  And the image url?

Thomas