• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Changing Port 8080 to 80

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am using jboss with apache. I have installed jforum with: http://domainname.com:8080/forum. Now, I want to change it to: http://domainname.com/forum

how can i do that? i logged in as "admin" and tried changing the URL in the config. I also double checked SystemGlobals.properties, which is showing: http://domainname/forum

Why my forum is still not acceissble without port 8080? Any thoughts are appreciated.

i already looked at the old posts, but didnt find one that suits my problem.
[originally posted on jforum.net by urvoip1]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to modify your apache configuration. Find the file called "httpd.conf" and look for the setting that says "port=8080". Change it to "port=80", save the file, and restart Apache.

Note that if you're running on a Linux or Unix system, you'll need to run Apache as root to use port 80.
[originally posted on jforum.net by jbanes]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I already modified in my httpd.conf to port 80

I have total 3 websites hosted on this server. All of them are using jboss. Rest of these sites are working with port 80. Only JForum is not accessible via port 80. I must have missed something here, may be very minute.

Any other help is appreciated.
[originally posted on jforum.net by urvoip1]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JForum doesn't have any interference on the port numbrers. There must be something in your jboss configuration.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

urvoip1 wrote:I already modified in my httpd.conf to port 80

I have total 3 websites hosted on this server. All of them are using jboss. Rest of these sites are working with port 80. Only JForum is not accessible via port 80. I must have missed something here, may be very minute.

Any other help is appreciated.


In that case, you're not really using JBoss with Apache, you're using JBoss AND Apache. The two are acting as separate servers and never the twain shall meet.

What you want to do is setup the ProxyPass command in your Apache config to forward all requests to localhost:8080. Use ProxyPassReverse to automatically switch any URLs to the port 80 server. More info on this configuration can be found here:

http://httpd.apache.org/docs/1.3/mod/mod_proxy.html

There's also an Apache plugin to make JBoss/Tomcat work with Apache, but the ProxyPass solution works just as well and is easier to maintain.
[originally posted on jforum.net by jbanes]
 
reply
    Bookmark Topic Watch Topic
  • New Topic