Sweet! Thanks!

John Buell
Systems Administrator
Country Samper LLC
(630) 762-7806

From: [email protected] 
[mailto:[email protected]] On Behalf Of Aaron Guise
Sent: Tuesday, April 02, 2013 5:34 PM
To: [email protected]
Subject: Re: [rt-users] Move web port


Yes,

You need to add another LISTEN Directive to httpd.conf.  At the moment it will 
be a single LISTEN 80.  You'd need to add 8080 and then configure a virtualhost 
similar to this.

Mind it may need a bit of tweaking as only bashed that out from memory.

<VirtualHost *:8080>

  ServerName www.example.com:8080

  Redirect 301 / http://www.example.com/

</VirtualHost>
---

Regards,

Aaron Guise

[Image removed by sender.][email protected]<mailto:[email protected]>

[Image removed by sender.]  [Image removed by sender.]   [Image removed by 
sender.]   [Image removed by sender.]

On 2013-04-03 11:26, John Buell wrote:
Right, except that I’ve already “released it to the public” with 8080, so I was 
just trying to find a quick way to do a redirect. A second VirtualHost 
listening on 8080 and serving a single web page with a redirect to 80 would 
seem to me to be the way to do it, or is there another way?

John Buell
Systems Administrator
Country Samper LLC
(630) 762-7806

From: Aaron Guise [mailto:[email protected]]
Sent: Tuesday, April 02, 2013 5:11 PM
To: John Buell
Subject: Re: [rt-users] Move web port


Hi John,

The general idea is that you would configure a virtualhost on apache as per the 
guides.  This would then be listening on port 80 by default.  You would then 
shutdown the built in/standalone server you are currently running on port 8080. 
 This would then mean you can access your RT on port 80 via Apache once your 
vhost is setup correctly.
---

Regards,

Aaron Guise

[Image removed by sender.][email protected]<mailto:[email protected]>

[Image removed by sender.]  [Image removed by sender.]   [Image removed by 
sender.]   [Image removed by sender.]

On 2013-04-03 11:06, John Buell wrote:

I am using the Plack server, but if I'm reading everything correctly, I should 
be disabling *THAT* and modify the Apache config files to be doing the web 
service at port 80? Then I could use a VirtualHost directive in an Apache 
config file on 8080 that redirects to 80, right?



John Buell

Systems Administrator

Country Samper LLC

(630) 762-7806





-----Original Message-----

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Kevin Falcone

Sent: Tuesday, April 02, 2013 2:58 PM

To: 
[email protected]<mailto:[email protected]>Subject:
 Re: [rt-users] Move web port



On Tue, Apr 02, 2013 at 06:33:30PM +0000, John Buell wrote:
I've been using a stock Ubuntu 12.04 system for hosting rt. I'm at a point 
where I think I'd like to get rid of apache/apache2 and whatever else might be 
running, and let rt run on port 80 (until now it's been on port 8080). Is there 
a way to allow rt to listen on both, or redirect traffic from 8080 to 80 after 
I shut down and disable apache?

How are you running RT?  Normally, RT runs in conjunction with apache.

You certainly can run it standalone for small installs using just a plack 
server.  I suggest having a look at the deployment docs and figuring out your 
current configuration.



http://bestpractical.com/rt/docs/latest/web_deployment.html



-kevin

<<inline: ~WRD000.jpg>>

<<inline: image001.jpg>>

<<inline: image002.jpg>>

Reply via email to