FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Problems changing port number of webserver
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problems changing port number of webserver [message #10560] Wed, 04 June 2003 17:15 Go to next message
jmartinson is currently offline  jmartinson   United States
Messages: 12
Registered: June 2003
Karma: 0
Junior Member
I installed FUD on port 81 this morning to test it. We decided we would like to use it and wanted to move it to port 80. I changed the listenport to 80 in apache's httpd.conf and encountered all kinds of problems.

I looked through the PHP code and found the URL for images (and other things) is hardcoded to http://xxx.xx.xxx.xx:81/whatever.

This seems very inflexible to me. Why not use relative links so the code isn't so directly tied to the installation parameters? If relative links were used this would not be an issue.

Does anyone have a script to go through my installation directory and change all these values to the new ones?

This seems like a major design flaw to me. Does anyone have a way around this, or would I have to reinstall and then redo all the work I did in setting up groups, templates, etc?

Any information is greatly appreciated.

-Jacob

[Updated on: Wed, 04 June 2003 17:15]

Report message to a moderator

Re: Problems changing port number of webserver [message #10561 is a reply to message #10560] Wed, 04 June 2003 17:25 Go to previous messageGo to next message
jmartinson is currently offline  jmartinson   United States
Messages: 12
Registered: June 2003
Karma: 0
Junior Member
I would like to add that I am very pleased with this forum overall and am grateful to everyone who contributed to bring it to the point it is at now.

If my above post sounds aggressive, that is not my intention. I was a bit frustrated at the time I wrote it.

Thanks for any information.

-Jacob

[spelling...]

[Updated on: Wed, 04 June 2003 17:26]

Report message to a moderator

Re: Problems changing port number of webserver [message #10562 is a reply to message #10561] Wed, 04 June 2003 17:45 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The solution is quite simple, You need to modify GLOBALS.php and change the port inside the $WWW_ROOT variable. After that is done, go to the admin control panel, theme manager and rebuild your theme. After this is done your forum will work correctly.

FUDforum Core Developer
Re: Problems changing port number of webserver [message #10568 is a reply to message #10562] Wed, 04 June 2003 20:13 Go to previous message
jmartinson is currently offline  jmartinson   United States
Messages: 12
Registered: June 2003
Karma: 0
Junior Member
That did the trick. THANKS!!!

I am really happy with how easy it was to install and get off the ground with FUDforum. I started the install around 11am and by 3pm we have a working change management system!

Thanks again!

-Jacob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Changing HTML replacement in post_proc.inc.t
Next Topic: Howto disable all icons
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 19:38:34 GMT 2024

Total time taken to generate the page: 0.02266 seconds