1
rostiguy
Converting from :80 to :8080 for Existing Site?
  • 2007/1/27 1:40

  • rostiguy

  • Just popping in

  • Posts: 2

  • Since: 2007/1/27


All,

Hello. I currently have XOOPS up and running on my home web site. I am trying to convert my site from TCP 80 to TCP 8080. I configured Apache to handle everything ok, but I need to convert XOOPS to listen (and present links) as TCP 8080.

I re-read the installation guide and saw the option to select a port number. However, I have an existing site with a large image gallery that I don't want to re-upload if I blow something up! Is there a quick & dirty way to configure XOOPS to answer on http://www.website.com:8080 instead of http://www.website.com?

I can provide more information as necessary. I figured I'd test the waters with a basic question before we dig deeper...

Any help you can provide would be greatly appreciated.

Thanks,
Ronman

2
fragttdg
Re: Converting from :80 to :8080 for Existing Site?
  • 2007/1/31 9:02

  • fragttdg

  • Just popping in

  • Posts: 34

  • Since: 2004/6/13


Maybe you can use apache mod_rewrite, config .htaccess or httpd.conf, like:

RewriteEngine On 

RewriteCond 
%{HTTP_HOST} ^www.website.com
RewriteRule 
(.*) http://www.website.com:8080/$1 [R=301,L]


Good Luck.
Xoops Based site - http://www.xiubei.com

3
mighty_tuna
Re: Converting from :80 to :8080 for Existing Site?
  • 2007/2/7 15:50

  • mighty_tuna

  • Just popping in

  • Posts: 5

  • Since: 2007/2/7 2


What might be easier than what you're trying to do, would be to go to your firewall and tell it to forward all the incoming traffic on port 8080 to your webserver on port 80.

If you mangle the packets there and set apache back to listening to port 80, you don't have to ever think about this again.

Login

Who's Online

379 user(s) are online (302 user(s) are browsing Support Forums)


Members: 0


Guests: 379


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits