Page 1 of 1
VI of httpd.conf -- Portchange HOW TO ...
Posted: Thu Nov 30, 2006 9:39 am
by rollbackpc
Installed 1.22 LIVE CD onto HD successfully! ...
Runs on LAN fine! ...
The address is:
http://192.168.2.23/zm ... And this gets the ZM console ....
However, how does one change the port used by ZM (via the Apache?) to something other than PORT 80? I figured out where and how to edit "httpd.conf". (It is on the /etc/conf branch ... ) ... However, I find only the "Listen 0.0.0.0:80" command line to have a specific PORT 80 reference of note, so I changed it, but it didn't seem to do anything ......
pettaflex seems to have asked this before (without a satisfying answer!), but I was hoping for more detailed and satisfying answers ...
Posted: Thu Nov 30, 2006 9:42 am
by jameswilson
it is indeed there, but leave the 0.0.0.0:80 alone and edit the one that says just says 80 further down
Posted: Thu Nov 30, 2006 10:03 am
by cordel
You can find more detailed information on apaches web site. They have some very good manuals.
http://httpd.apache.org/docs/
Regards,
Corey
Tried "Port 8000" ... no good ..
Posted: Thu Nov 30, 2006 10:19 am
by rollbackpc
Read the docs for Apache ... a bit confusing! ...
OK ... Tried adding "Port 8000" ... no good ....
jameswilson what are you talking about????
No other "80" is an active directive... as far as I can see?
For example, next is ... "#ServerName
www.example.com:80" is a commented out line! The next is ... "#NameVirtualHost *:80"
Am I missing something?
Posted: Thu Nov 30, 2006 10:55 am
by jameswilson
well my httpd.conf
located at
/etc/httpd/conf/httpd.conf
#Listen 12.34.56.78:80
Listen 0.0.0.0:80
sorry i was wrong but change the above to whatever you want and then restart apache. Apache wont restart with zm running so it be asier just to reboot your box
LINUX port scan ? What is needed?
Posted: Thu Nov 30, 2006 8:16 pm
by rollbackpc
Greetings all! I know there are many out there looking for HELP! Real help! ... Please help! ... (ATTN: rdmellen you've done a great job providing this distro! ... I hope you will see this post .... )
I am now looking for a PORT SCANNER to report what exactly is going on with my new LINUX box containing ZM ... There must be a LINUX app already that I can run under the MANDRIVA to report exactly what ports are open and which are NOT! .... I need to check my router and ISP are doing what I think they are doing.... NOT GUESSWORK!!! I see
www.nsauditor.com provides such tools for the M$ Win environments... I see LINUX does have NMAP and NESSUS, but what is a beginner friendly, GUI program someone can recommend?! ... Thanks in advance.... Also, I called my ISP for help... UGH! UGH! ... They redirected me to their "web hosting" !!! ... I don't want their web hosting, I want help to DIY !!!! ....
PS... This "run first in ROOT" is really bizarre, but seems to work! What I mean is, I change the "Listen 0.0.0.0:80" line in httpd.conf to "Listen 0.0.0.0:11001" and "run first in ROOT" and then ROOT and GUEST do work as "
http://localhost:11001/zm" in the browser ..... ANY IDEAS on how to STREAMLINE this !!!
Posted: Thu Nov 30, 2006 8:35 pm
by jameswilson
i dont understand, do you have ssh or webmin on this box, do you want me to take a look?
Yes ... LOOK at it .... PLEASE HELP as to how-to .....
Posted: Fri Dec 01, 2006 12:27 am
by rollbackpc
I have the ZM LIVE CD defaults ... What is the default USER and PASSWORD for "webmin" ?
What is the correct APACHE directive in "httpd.conf" ? Is it "Listen 8080" or "Listen 0.0.0.0:8080" ? Is it "Port 8080" and no "Listen ... " directive? I will just have to experiment ....
On another area, I found at
www.dyndns.org that there are LINUX IP monitor programs that will EMAIL the current IP !!! Great !!!
They are:
inadyn v1.96
Eponym v2.6
JIP UPDATE v1.20
Does anyone have experience using these with the LIVE ZM MANDRIVA installation ???
jameswilson you also mentioned "ssh" ... Where is this normally configured?
Posted: Fri Dec 01, 2006 12:41 am
by jameswilson
its your root login mate so root and root i think it tells you as you log in, if you have installed then it will be whatever you set it too
re listen question see my above post
i wouold get it working as is before you start adding more. No i have never tried these but there is a dyndns service type thing on the live cd but i have never used it. I would advise you use those tools not some new ones
ssh allows me to connect but if you have webmin running i would prefer to use that, that way i can fix your issues with appache