Koozali.org: home of the SME Server

Change port on sme 6

sme6

Change port on sme 6
« on: April 19, 2004, 06:31:48 PM »
I need to change the port that sme listens to http requests. is there anywhere that I can get documentation on how to do this for sme 6? I have found vaious for preious ersions but usually something is missing from sme 6 that was in a previous version. I have tried a bunch of things but nothing seems to work correctly..

Offline briank

  • ****
  • 146
  • +0/-0
Change port on sme 6
« Reply #1 on: April 19, 2004, 08:50:32 PM »
Can we assume you have tried Dan Brown's howto at
http://www.familybrown.org/howtos/listen-port-howto.html
Regards
Brian

sme 6

Change port on sme 6
« Reply #2 on: April 19, 2004, 09:11:33 PM »
yup I tried that but it didnt work one of the files he is talking about is non existant. 80Aliases00 35Listen80  has some similar sintax but not even close to what is shown on "http://www.familybrown.org/howtos/listen-port-howto.html" . I tried what I could changing the port number on 35Listen80 but it did nothing. I also had a problem trying to run the [root@e-smith /root]# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf command. This gave me an error wich might be the root cause of why it didnt work.  Either way I restarted and nothing ... need help

Offline briank

  • ****
  • 146
  • +0/-0
Change port on sme 6
« Reply #3 on: April 20, 2004, 11:50:41 AM »
Hi - these lines in Dan's Howto create those two files.
Next, copy the files 35Listen80 and 80Aliases00 to that directory:

[root@e-smith /root]# cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35Listen80 \ > /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/


[root@e-smith /root]# cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80Aliases00 \
> /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

A neat trick is to copy the line and right clicking at a command prompt will paste it, then you are sure the syntax is correct.
good luck
brian

sme 6

Change port on sme 6
« Reply #4 on: April 20, 2004, 07:01:58 PM »
Brian I willtry it tonight again. I swear I tried that. I might have missed the \ > wich If i am correct puts the file in the directory following. is that what it does??? if not what does it do??? i did it without it and it put the file in...

sme 6

IT WORKS but ....
« Reply #5 on: April 21, 2004, 12:47:39 AM »
Thanks for the help

Got it to work but ....

here is what happens when I try that on sme 6 . the first file copy works good  the second does this.

[root@e-smith /root]# cp: cannot stat: '/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80Aliases00': no such file or directory

What does this file do????

doesnt that \> just mean that it continues on the next line? i think thats what it was if I could remember correctly

sme 6

now I have webmail problems
« Reply #6 on: April 21, 2004, 11:15:59 PM »
cant access webmail page from networked computer this doesnt work. I already enabled the email on the server manager. http or https to test

http://esmith:8080/webmail/  doesnt work
so I cant access the mail page.

I also cant access the server manager from the actual sme box I guess it might be looking for it on the wrong port now but I dont know how to change it. any help???
it is trying to open

http://esmith/server-manager/

but should probably be opening

http://esmith:8080/server-manager/
wich is how I open it from a browser on my other computer...

any suggestions?

Anonymous

webmail connection
« Reply #7 on: April 22, 2004, 02:34:21 AM »
You can try http://yourserver:8000000000/webmail and it will not work

why don't you READ a little you only need to check http://your-server/webmail    or

http://ip-address/webmail

DO NOT WASTE THE TIME OF THIS FORUM WITH YOU BASIC STUPID QUESTIONS

YOU HAVE ASKED SEVERAL QUESTIONS THAT SHOULD HAVE BEEN IN THE IDIOT FORUM

sme6 is a moron

jvdbossc


Anonymous

Change port on sme 6
« Reply #9 on: April 26, 2004, 06:50:12 PM »
I tried that installed the rpm and it does the same thing it did before where my regular http web stuff works and I can access the site but whenever I do http://www.domain.com/webmail it still doesnt work its a dead link.

Anonymous

Change port on sme 6
« Reply #10 on: April 26, 2004, 06:51:51 PM »
when I have it on the standard port 80 it works fine but if I switch it up to another port is when I cant access the mail.