Re: [rt-users] Moving RT off of the root URL

2006-09-25 Thread Jesse Vincent
I believe the issue is a bug in the etc/initialdata / upgrade/content  
file file.


We had an $RT::WebPath when we should have had a __WebPath__.

Unfortunately, the fix for existing installs is going to require some  
database diving.


-jesse

On Sep 23, 2006, at 1:53 AM, Frank Saxton wrote:

Well, it's the blah, blah, blah that I need help with.  I'm not  
the brightest guy in the world but if it was a simple one line  
change I wouldn't be wasting everyone's time.


I spent a couple of days trying all types of different combinations  
and got it close to working but there were always problems.  Since  
I assume that very few people here are running RT off of the root  
URL, I figured it would be faster to just ask the experts here.   
That was 3 weeks ago


My current httpd config is at the bottom and my RT_SiteConfig.pm is  
plain vanilla, per the install instructions.


I've done this with earlier versions of 3.4 and older RT with no  
problems, making a couple of simple alias changes.  Apparently  
something changed in the way Best Practical built 3.5 or 3.6


Having a great deal of difficulty getting anyone to help me with this.

At 06:28 AM 9/22/2006, Drew Barnes wrote:

  ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

Shouldn't that maybe be ScriptAlias /rt [blah blah blah]?


Apparently, there has been a change since RT 3.4 that makes it  
more
difficult to move RT from http://host.com/ to something like  
http://host.com/rt

I presume someone has already solved this problem.  I would be
grateful if someone could point me to the detailed information on
what I need to do to make this change.

RT_SiteConfig.pm:
Set($WebPath , /rt3);
Set($WebURL , $WebBaseURL . $WebPath . /);


I do appreciate your willingness to help but as I suspected, the  
changes you suggested do not work in my fastcgi configuration.   
This is what I have and it works fine except that it runs out of  
http://localhost instead of http://localhost/rt as I'd prefer.   
I'm sure this is just one or two very small changes to get it to  
work,,


Alias /rt/ /opt/rt3/share/html/
FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 - 
processes 4


NameVirtualHost *:80
  VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
ServerName patrol.vigilancemonitoring.com
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
  /VirtualHost
  Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
  /Directory
   Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

___


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly  
Media. Buy a copy at http://rtbook.bestpractical.com






PGP.sig
Description: This is a digitally signed message part
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Moving RT off of the root URL

2006-09-25 Thread Frank Saxton
Well, it's the blah, blah, blah that I need help with.  I'm not the 
brightest guy in the world but if it was a simple one line change I 
wouldn't be wasting everyone's time.


I spent a couple of days trying all types of different combinations 
and got it close to working but there were always problems.  Since I 
assume that very few people here are running RT off of the root URL, 
I figured it would be faster to just ask the experts here.  That was 
3 weeks ago


My current httpd config is at the bottom and my RT_SiteConfig.pm is 
plain vanilla, per the install instructions.


I've done this with earlier versions of 3.4 and older RT with no 
problems, making a couple of simple alias changes.  Apparently 
something changed in the way Best Practical built 3.5 or 3.6.  I 
wouldn't care so much except that the current ScriptAlias setting 
breaks all of the other web sites on this server :(


Having a great deal of difficulty getting anyone to help me with this.

At 06:28 AM 9/22/2006, Drew Barnes wrote:

  ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

Shouldn't that maybe be ScriptAlias /rt [blah blah blah]?


Apparently, there has been a change since RT 3.4 that makes it more
difficult to move RT from http://host.com/ to something like 
http://host.com/rt

I presume someone has already solved this problem.  I would be
grateful if someone could point me to the detailed information on
what I need to do to make this change.

RT_SiteConfig.pm:
Set($WebPath , /rt3);
Set($WebURL , $WebBaseURL . $WebPath . /);


I do appreciate your willingness to help but as I suspected, the 
changes you suggested do not work in my fastcgi 
configuration.  This is what I have and it works fine except that 
it runs out of http://localhost instead of http://localhost/rt as 
I'd prefer.  I'm sure this is just one or two very small changes to 
get it to work,,


Alias /rt/ /opt/rt3/share/html/
FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 4

NameVirtualHost *:80
  VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
ServerName patrol.vigilancemonitoring.com
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
  /VirtualHost
  Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
  /Directory
   Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

___


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Moving RT off of the root URL

2006-09-25 Thread Frank Saxton

At 07:45 AM 9/25/2006, Uldis Koskins wrote:

Frank Saxton wrote:
 Well, it's the blah, blah, blah that I need help with.  I'm not the
 brightest guy in the world but if it was a simple one line change I
 wouldn't be wasting everyone's time.

 I spent a couple of days trying all types of different combinations and
 got it close to working but there were always problems.  Since I assume
 that very few people here are running RT off of the root URL, I figured
 it would be faster to just ask the experts here.  That was 3 weeks ago

 My current httpd config is at the bottom and my RT_SiteConfig.pm is
 plain vanilla, per the install instructions.

 I've done this with earlier versions of 3.4 and older RT with no
 problems, making a couple of simple alias changes.  Apparently something
 changed in the way Best Practical built 3.5 or 3.6.  I wouldn't care so
 much except that the current ScriptAlias setting breaks all of the other
 web sites on this server :(

 Having a great deal of difficulty getting anyone to help me with this.

im running 3.6 here, so maybe u could try this thingie :)

FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 360 -processes 2
VirtualHost this.is.my.ip
ServerName bigserver.com
DocumentRoot /bigservers_stuff
Directory /bigservers_stuff
  AllowOverride All
/Directory
#-- rt stuff
AddHandler fastcgi-script fcgi
Directory /opt/rt3/share/html
AddDefaultCharset UTF-8
/Directory
Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /theplacewhereiwanttoseeRT/ /opt/rt3/bin/mason_handler.fcgi/
Directory /opt/rt3/bin/mason_handler.fcgi/
SetHandler fastcgi-script
Options +ExecCGI
/Directory
#-- rt stuff end
/VirtualHost

--
Regards,
Uldis Koskins



Thanks very much for getting back to me.  Here's mine which works 
fine as http://localhost
The only big difference I see is changing ScriptAlias, which I did 
and it sort of, kind of worked, but not really.  Jesse indicated that 
this is a bug in the code and if you're not seeing the problem in 3.6 
then it must be only 3.6.1 that has the problem.


I've invested/wasted a lot of time working on this with no success so 
it's sounding like the solution is to wait for the next release.


Very much appreciate your help though!

Alias /rt/ /opt/rt3/share/html/
FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 4

NameVirtualHost *:80
  VirtualHost *:80
ServerName patrol.vigilancemonitoring.com
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
  /VirtualHost
  Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
  /Directory
   Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Moving RT off of the root URL

2006-09-22 Thread Drew Barnes

  ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

Shouldn't that maybe be ScriptAlias /rt [blah blah blah]?

Frank Saxton wrote:

At 02:49 AM 9/21/2006, Kristian Rønningen wrote:

On Mon, 18 Sep 2006 06:07:00 -0700, you wrote:

Apparently, there has been a change since RT 3.4 that makes it more
difficult to move RT from http://host.com/ to something like 
http://host.com/rt

I presume someone has already solved this problem.  I would be
grateful if someone could point me to the detailed information on
what I need to do to make this change.

Hi,

I'm running 3.6.1 on debian from a subdirectory /rt3/ on my domain,
and from what I can tell from my config-files, this is all the
path-related settings there is:

RT_SiteConfig.pm:
Set($WebPath , /rt3);
Set($WebURL , $WebBaseURL . $WebPath . /);

httpd.conf:
VirtualHost 1.2.3.4
.
.
.
Alias /rt3 /usr/local/rt3/share/html
Location /rt3
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason
Options +ExecCGI
/Location
.
.
/VirtualHost

Make sure you stop and start apache each time you change something,
just in case something isn't reloading.

- Kristian
___


I do appreciate your willingness to help but as I suspected, the 
changes you suggested do not work in my fastcgi configuration.  This 
is what I have and it works fine except that it runs out of 
http://localhost instead of http://localhost/rt as I'd prefer.  I'm 
sure this is just one or two very small changes to get it to work,,


Alias /rt/ /opt/rt3/share/html/
FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 
-processes 4


NameVirtualHost *:80
  VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
ServerName patrol.vigilancemonitoring.com
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
  /VirtualHost
  Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
  /Directory
   Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


--
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Moving RT off of the root URL

2006-09-22 Thread Frank Saxton
Well, it's the blah, blah, blah that I need help with.  I'm not the 
brightest guy in the world but if it was a simple one line change I 
wouldn't be wasting everyone's time.


I spent a couple of days trying all types of different combinations 
and got it close to working but there were always problems.  Since I 
assume that very few people here are running RT off of the root URL, 
I figured it would be faster to just ask the experts here.  That was 
3 weeks ago


My current httpd config is at the bottom and my RT_SiteConfig.pm is 
plain vanilla, per the install instructions.


I've done this with earlier versions of 3.4 and older RT with no 
problems, making a couple of simple alias changes.  Apparently 
something changed in the way Best Practical built 3.5 or 3.6


Having a great deal of difficulty getting anyone to help me with this.

At 06:28 AM 9/22/2006, Drew Barnes wrote:

  ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

Shouldn't that maybe be ScriptAlias /rt [blah blah blah]?


Apparently, there has been a change since RT 3.4 that makes it more
difficult to move RT from http://host.com/ to something like 
http://host.com/rt

I presume someone has already solved this problem.  I would be
grateful if someone could point me to the detailed information on
what I need to do to make this change.

RT_SiteConfig.pm:
Set($WebPath , /rt3);
Set($WebURL , $WebBaseURL . $WebPath . /);


I do appreciate your willingness to help but as I suspected, the 
changes you suggested do not work in my fastcgi 
configuration.  This is what I have and it works fine except that 
it runs out of http://localhost instead of http://localhost/rt as 
I'd prefer.  I'm sure this is just one or two very small changes to 
get it to work,,


Alias /rt/ /opt/rt3/share/html/
FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 4

NameVirtualHost *:80
  VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
ServerName patrol.vigilancemonitoring.com
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
  /VirtualHost
  Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
  /Directory
   Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

___


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Moving RT off of the root URL

2006-09-21 Thread Kristian Rønningen
On Mon, 18 Sep 2006 06:07:00 -0700, you wrote:

Apparently, there has been a change since RT 3.4 that makes it more 
difficult to move RT from http://host.com/ to something like http://host.com/rt
I presume someone has already solved this problem.  I would be 
grateful if someone could point me to the detailed information on 
what I need to do to make this change.

Hi,

I'm running 3.6.1 on debian from a subdirectory /rt3/ on my domain,
and from what I can tell from my config-files, this is all the
path-related settings there is:

RT_SiteConfig.pm:
Set($WebPath , /rt3);
Set($WebURL , $WebBaseURL . $WebPath . /);

httpd.conf:
VirtualHost 1.2.3.4
.
.
.
Alias /rt3 /usr/local/rt3/share/html
Location /rt3
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason
Options +ExecCGI
/Location
.
.
/VirtualHost

Make sure you stop and start apache each time you change something,
just in case something isn't reloading.

- Kristian
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Moving RT off of the root URL

2006-09-21 Thread Frank Saxton

Hello Kristian

Thanks very much for responding.  I built RT 
following the instructions to the letter.  It's a 
fastcgi setup and I don't know that the changes 
you suggested will work the way RT is 
configured.  I'm happy to go ahead and try if you 
say it will work though..  below is my current 
httpd.conf which works perfectly except that RT 
runs on the root URL and not http://localhost/rt


Thanks very much in advance!

# RT Stuff

Alias /rt/ /opt/rt3/share/html/

FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 4

NameVirtualHost *:80
  VirtualHost *:80
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
  /VirtualHost
  Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
  /Directory
   Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

At 02:49 AM 9/21/2006, Kristian Rønningen wrote:

On Mon, 18 Sep 2006 06:07:00 -0700, you wrote:

Apparently, there has been a change since RT 3.4 that makes it more
difficult to move RT from http://host.com/ to 
something like http://host.com/rt

I presume someone has already solved this problem.  I would be
grateful if someone could point me to the detailed information on
what I need to do to make this change.

Hi,

I'm running 3.6.1 on debian from a subdirectory /rt3/ on my domain,
and from what I can tell from my config-files, this is all the
path-related settings there is:

RT_SiteConfig.pm:
Set($WebPath , /rt3);
Set($WebURL , $WebBaseURL . $WebPath . /);

httpd.conf:
VirtualHost 1.2.3.4
.
.
.
Alias /rt3 /usr/local/rt3/share/html
Location /rt3
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason
Options +ExecCGI
/Location
.
.
/VirtualHost

Make sure you stop and start apache each time you change something,
just in case something isn't reloading.

- Kristian
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com