Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command line access to Apache (Windows 98)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi.

I have recently installed Apache on my home PC so that can host just a few personal pages. Going one step further I am trying to implement a gestbook using a CGI. A lot of the tutorials I am reading are telling me how to change server configuration by telnet/CLI but I don't have clue.

Can anyone tell me how to gain access to my Apache server via a command line or how I set up a console session? I am running Windows 98.

RC
 
Hi,

If you mean you want to change the apache config (httpd.conf) on a win32 platform you just use an editor of your choice on the file directly :

C:\Program Files\Apache Group\Apache\conf\httpd.conf

You just edit the file and restart the server after your changes.

If the apache instance is on a different box and you want to admin it from win98 then, yes, you'd need to telnet or ssh to the other machine. From win98 you'd just do start -> run -> (type in) telnet [enter] . Then choose 'remote system' from the connect menu and type in the IP address of the other box.

If you want a gui admin tool try comanche -->
Hope this helps
 
Thank you.

Do I need to enable Telnet access in my Apache httpd.conf?

I have installed the GUI that you recomended (Comanche??) but when I run it, it doesn't seem to do anything. How do I tell it where to locate the server?

Unfortunately there doesn't seem to be very much 'Help' with the software.

RC
 
Hi,



No theres nothing to change in httpd.conf - telnet is just a way of gaining a remote console (keyboard and screen if you like) to another system. You only need telnet if apache is on a different machine which you can contact across the network. If so, on the server machine you would need to have a telnet server active but it nothing to do with apache as such. I'm still not too clear if you are talking about multiple machines here or not. If so, and the apache is on linux then you'd just install the 'telnet-server' rpm and (for redhat) let it be used with the command (as root) '/sbin/chkconfig telnet on'. If you are networking betwen two windows boxes, however, unfortunately our friends at Redmond are not so generous as to supply a telnet server. There's probably a freeware one somewhere...



On comanche, I haven't used it on win32 so I'm not sure quite how the config looks - try the user guide -->


Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top