~terry
Tue, Dec 31, 1996 (06:52)
seed
Apache webservers have a 44% share of all the servers on the net. That's
what we use on the Spring. This topic will explore how to set up Apache,
how to manage it, and how to deal with problems and issues that come up.
We'll also discuss performance and day to day management.
~terry
Tue, Dec 31, 1996 (06:53)
#1
From spidaman@well.com comes this advice on how to get
the Springs logs going again:
Topic 285 [web]: The Apache Server
#52 of 53: Video killed (spidaman) Tue Dec 31 '96 (00:10) 25 lines
Terry, your config files and permissions look basicly OK at first glance.
Indulge me then while I carry on with admin procedure...assuming BSD and
csh, a session should look something like...
--confirm your apache server is running
www% ps -ax | grep httpd | wc -l
--should be a number greater than MinSpareServers in httpd.conf, if not :(
--assume you have a favorable response, it's running and needs a restart
www% su
www# kill -HUP `cat /usr/local/etc/httpd/logs/httpd.pid`
www# tail -f /usr/local/etc/httpd/logs/access_log
--hit your server, do you see hits getting logged?? if not, do this
--(my kloodge for killing a webserver dead for a full restart)
www# ps -ax | grep httpd | awk '{print $1}' > /tmp/httpds
www# foreach i (`cat /tmp/httpds`)
? kill -9 $i
? end
www# /usr/local/etc/httpd/httpd -f /usr/local/etc/httpd/conf/httpd.conf
www# tail -f /usr/local/etc/httpd/logs/access_log
--hit your server, do you see hits getting logged?? if not, your binary is
--fucked? take two aspirin and call me in 1997?
ps - skip the Apache 1.2 beta until the incompatiblity with AOL's proxy
server is resolved (we learned the hard way, ouch!) -- see
comp.infosystems.www.server.unix for details...
Topic 285 [web]: The Apache Server
~terry
Tue, Jan 7, 1997 (09:48)
#2
I tried this but it resulted in killing off the main page. I had to
reboot the server this morining. The problem was my lack of understanding
in how Matt had set up the logging.
Everything is working now, including logging. Now we need a good stats package.
~KitchenManager
Thu, Apr 2, 1998 (13:57)
#3
Do you have Spring.net configured to use shtml pages?
Just curious, you know...
~terry
Thu, Apr 2, 1998 (16:39)
#4
I'd have to check, I haven't used that specifically.
~KitchenManager
Thu, Apr 2, 1998 (23:15)
#5
Okay
~sprin5
Sat, Feb 5, 2000 (11:08)
#6
I'm going to begin talking about the Apache web server because it's the heart and soul of what we do here on the Spring. And I want to learn more about how it works.
I didn't really choose Apache as the Spring's webserver program. I chose BSDI as the operating system and Apache was included. It's what most people use and the most common webserver on the Internet.
The actual program that runs or "binary" is called httpd and runs in the background several times on the server. Each of these httpd's has it's energy directed at a website like www.spring.net or www.austen.com which is a directory. This site directory has three subdirectories:
conf - /var/www/conf on http://206.97.234.70 which has the configuration files of which httpd.conf is the most important.
docs - /var/www/docs contains the web scripts and the publicly accessible areas
logs - /var/www/logs contains the log files
In addition to these three directories /var/www also has a /bin directory, a /cgi-bin area, an /icons directory, a /stats directory and a /webdocs directory where all the dedicated websites live. The cgi-bin is where are CGI scripts reside.
In the Config file httpd.conf there are over 150 directives that control different aspects of Apache. And there are flags that can be invoked when Apache starts up.
Apache is free. You download it from http://www.apache.org. Then you have to compile and run it.
~MarciaH
Thu, Feb 10, 2000 (20:10)
#7
Is downloading this program suggested for our personal computers? Would it help us with things we do on Spring? (I should be putting this in first person since I cannot speak for anyone else!) I am more than willing to learn everything I can about what makes Spring work since I would like to be of more help - and I feel that I know so little...
~sprin5
Sat, Feb 12, 2000 (20:37)
#8
Not recommended on your pc, although there is a version that runs on Windows. You'd need a dedicated connection to run your own webserver. PWS is a much easier solution for Windows and free from Microsoft's site.
~MarciaH
Sat, Feb 12, 2000 (20:48)
#9
If it would not be of use here, I probably do not need PWS, in any case. I spend enough time here messing about as it is. Thanks!
~MarciaH
Sat, Feb 12, 2000 (23:52)
#10
Have a dedicated connection (just one of the changes Spring has made in my life) Wish I could get my telnet account back...where is ratthing when I need him?!
~sprin5
Sun, Feb 13, 2000 (08:16)
#11
>I'm trying to figure out how we're going to do telnet on the new system because they only, at this point, allow one single telnet account per domain name. It may have to wait until I get set up with asynchronous DSL and can run my own UNIX server in the home office. Colcated UNIX servers are just too expesnsive, which is how we had the liberty of so many telnet accounts before. Or possibly, maybe Kaylene could think of a workaround where we could use the singlGot error 2 (No such file or directory) in out of time(null)
ebaldur:/usr/home/sprin5/virtual_html $ I'm trying to figure out how we're going to do tenet on the new system because they only, at this point, allow one single telnet account per domain name. It may have to wait until I get set up with asynchronous DSL and can run my own UNIX server in the home office. Colcated UNIX servers are just too expesnsive, which is how we had the liberty of so many telnet accounts before. Or possibly, maybe Kaylene could think of a workaround where we could use the single tlnet account for multiple folks.
..
~MarciaH
Sun, Feb 13, 2000 (12:29)
#12
Gotcha. It is not crucial for me. I just want to be more efficient at it through practice. I find it most helpful for trouble-shooting when something goes amiss with posts. No hurry and certainly, do not pay them any more. Mahalo!