Slava wrote:
1. Add the following line in /etc/httpd/conf/httpd.conf:
ServerName <computer name>.psychobaby.com
2. Add the following line in /etc/hosts:
<IP address> <computer name>
<192.168.1.1> <computer name>.psychobaby.com <computer name>
2) I write P erl CGI scripts, since it appear that the webserver does not
> > start, "localhost" does not work when running Netscape under Xwindows, and
> > therefore I can't test the scripts. If I run the scripts directly (ie.
> > /home/httpd/cgi-bin/test.cgi), the script runs but does not return anything
> > back to the browser. The script works fine on other systems, so it should
> > work here.
> > Perl scripts run from the command line (# perl test.cgi) work perfectly.
>
Use /usr/lib/cgi-bin to put all perl scripts.
Don't forget to make your perl script executable and use proper extentsion (cgi,
pl)
chmod +x <your perl script filename>
Type in your browser: http://computer name/cg-bin/<your perl script filename>
In /etc/httpd/conf/srm.conf, you should have the line:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin
> > 3) My host file says:
> > 127.0.0.1 localhost localhost.psychobaby.com
> > Is this right?(psychobaby is just what I've been calling the network
> > that does not yet exist)
> >
psychobaby.com is your domain name
>
> > 4) I can't seem to dial up. I'm lost on this one, I don't have a clue what
> > I'm doing. How can I get Minicom to allow me to enter "ATZ" to test the modem?
> >
It is hard to tell how to configure pppd in a few lines. Configure your modem
from
X Windows using proper com port com1 eq /dev/ttyS0, com2 eq
/dev/ttyS1
> > 5) (and the hard one) I want to set this up so my Win95 computer and my
> > linux computer can both get on the net via a single phone line using IP
> > masquerading. I have two NE2000T ethernet cards, the Win95 machine picked
> > it up immediately, and as far as I've been able to determine, the "lance"
> > driver included in Redhat should work for the Linux machine. I'm not sure
> > how to set this up (yes, I've read HOWTOs and FAQs, enough that my eyes
> > start to water, I still have no idea). I can't get the network up because
> > of the driver (at startup it says "Delaying eth0 initialization or
> > something similar), and also can't dial up, and also don't know how to set
> > up IP Masquerading. So I'm triply unsure of how to proceed. Help on this
> > would be appreciated, but the other problems listed above are more vital.
>
There is a lot of information on this subject in a web page
http://www.ecst.csuchico.edu/~dranch/LINUX/index-linux.html
Check this site out; it gives all kinds of info.