Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Keep The TechnoWorldInc.com Community Clean: Read Guidelines Here.
Recent Updates
[October 17, 2024, 05:05:06 PM]

[October 17, 2024, 04:53:18 PM]

[October 17, 2024, 04:53:18 PM]

[October 17, 2024, 04:53:18 PM]

[October 17, 2024, 04:53:18 PM]

[September 09, 2024, 12:27:25 PM]

[September 09, 2024, 12:27:25 PM]

[September 09, 2024, 12:27:25 PM]

[September 09, 2024, 12:27:25 PM]

[August 10, 2024, 12:34:30 PM]

[August 10, 2024, 12:34:30 PM]

[August 10, 2024, 12:34:30 PM]

[August 10, 2024, 12:34:30 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Techno Articles » Internet
 Apache Webserver - A quick tutorial for new Admins
Pages: [1]   Go Down
  Print  
Author Topic: Apache Webserver - A quick tutorial for new Admins  (Read 503 times)
Shawn Tracer
TWI Hero
**********


Karma: 2
Offline Offline

Posts: 16072


View Profile
Apache Webserver - A quick tutorial for new Admins
« Posted: February 25, 2008, 01:00:11 PM »


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"

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

This article can be published by anyone as long as a live back link to http://www.webhostingresourcekit.com is provided. (this note can be removed as long as a link from the author's resource box is provided)

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

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.081 seconds with 24 queries.