Mail from ILUG-BOM list (Non-Digest Mode)
Sometime on Jun 3, Homyar Bhathena assembled some asciibets to say:
> Finally I have apache running properly on my system.
Congratulations
> Method :-
> 1) download apache source compile it and install it - according to
Most distros already come with the apache sources, so you probably
wouldn't need to do this. Then again, it would guarantee that you get the
latest version.
> 2) add the command "/usr/local/apache/apachetl start" to rc.local file
> so that apache starts up automatically every time
> But Idon't get any indication for this (Why??)
That's cause you have to provide the indication as well in your rc.local
(SuSE?)
> setting host name(that's the worst part)
> Edit the host & domain name in the follwing files
> 1) /etc/hosts
> 2) /etc/HOSTNAME
step 2 isn't really necessary. /etc/HOSTNAME is created from
/etc/sysconfig/network
> 3) /etc/sysconfig/network
> Now I want to check my server on the internet so if
> login then I goto my friends place and type in
>
> http://[my IP]/hOMibHAi/
Nope, just http://your_ip/
First check that your apache is configured properly for remote access.
You have to check access.conf to make sure that anyone can see your html
files from /home/httpd/html down. Also make sure that no one can see /
and down, otherwise I could use a url like:
http://your_ip/../../../etc/passwd
and get to your password
> The following are my settings
> hostname : hOMibHAi domain name : DarKWinG
Is that domain registered at InterNIC? :) I don't think so. So
basically, your domain name and hostname have no relevance outside your
machine. If someone telnets in, or dials in, then he can use the hostname
(as long as he's on your machine). Otherwise, its of no use.
Philip
--
PL/I -- "the fatal disease" -- belongs more to the problem set than to the
solution set.
-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://www.ilug-bom.org.in/mailman/listinfo/linuxers