PRTG Traffic Grapher: Bandwidth and Network
Usage Monitoring Made Easy.
FREE Download of PRTG Traffic Grapher

eBusiness Help
Pay Pennies For New Clients
Expose your site to over 1/2 BILLION searches per month
Does your business accept most major forms of payments?
We offer processing of all major credit cards, ATM, and debit cards and the lowest rates anywhere

WebProWorld Dev Forum

mysql collection problem
we someone fills out the form on my website the information is sent to me in a email by coldfusion and it comes in correct format but somehow as it is

Printing address labels script
Does anyone know of a script (PHP or ASP) that can pull info from a Web site database and generate address labels?



Recent Articles

Troubleshooting: Preserve the scene
You've seen it on television or in the movies: important evidence is lost at a crime scene because someone wasn't careful enough to preserve it.

Moving Back in Time
If you've owned a PC for anywhere longer than a few weeks, chances are that you've quickly learned that hindsight is indeed always 20/20.


02.17.05

Apache Webserver - A Quick Tutorial For New Admins

By Christoph Puetz

Apache is one of the most commonly used web servers out there. If you are running your own cPanel server your websites will actually run on Apache.

If you're new to administering a web server or just want to learn to keep your managed server under control without yelling for support each and every time it is useful to know some basic Linux commands for Apache. Unless specified otherwise - all commands listed need to be executed from the command line on your server.

How to start, stop or restart Apache (commands need to be executed from the command line)?

Restart: "/etc/rc.d/init.d/apachectl restart"

Stop: "/etc/rc.d/init.d/apachectl stop"

Start: "/etc/rc.d/init.d/apachectl start"


Where is the Apache httpd.conf file located?

"/etc/httpd/conf/httpd.conf"

How many Apache processes are running on your server at any given time?

"ps auwx |grep httpd |wc -l"

PRTG Traffic Grapher: Bandwidth and Network
Usage Monitoring Made Easy.
FREE Download of PRTG Traffic Grapher

Where is the Apache error log located on the server?

"/var/log/httpd/error_log"

Where is the Apache status log file located on the server?

"/var/log/httpd/access_log"

HTTP Codes

200 = Successful Request

304 = Successful request, but the web page requested hasn't been modified since the current version in the remote web browser's cache.

401 = Unauthorized access. Someone entered an incorrect username / password on a password protected page

403 = Forbidden. File permissions prevents Apache from reading the file.

404 = Page Not found. The page requested doesn't exist.

500 = Internal Server Error



About the Author:
Christoph Puetz is a successful small business owner (Net Services USA LLC) and international author.

Guides, Tutorials, and Articles for small businesses - http://www.webhostingresourcekit.com

About SysAdminNews
SysAdminNews is a collection of articles, news and commentary designed to keep system administrators informed about the latest trends impacting their profession. Updates and Advice for System Administrators

SysAdminNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
SysAdminNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITManagementNews.com

-- SysAdminNews is an iEntry, Inc. publication --
iEntry, Inc. 880 Corporate Drive, Lexington, KY 40503
2005 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article

Database Forum Updates and Advice for System Administrators SysAdminNews News Archives About Us Feedback SysAdminNews.com About Article Archive News Downloads WebProWorld Forums iEntry Advertise Contact Jayde