Jump to content
Facebook Twitter Youtube

Recommended Posts

Posted

Apache este unul dintre serverele web cele mai frecvent utilizate. Dacă sunteţi nou in administrarea unui server web sau doar doriti să învatati pentru a menţine server-ul dvs. sub control, este util să ştii câteva comenzi de bază pentru Linux Apache. Cu excepţia cazului în care se prevede altfel – toate comenzile enumerate trebuie să fie executate la linia de comandă de pe server.

Cum sa pornesti, opresti si restartezi seviciul web Apache (comenzile trebuie executate din linie de comanda)?

Restart: “/etc/rc.d/init.d/apachectl restart Stop: “/etc/rc.d/init.d/apachectl stop Start: “/etc/rc.d/init.d/apachectl start

Unde este fisierul de configurare httpd.conf?

“/etc/httpd/conf/httpd.conf

Cate procese Apache ruleaza intr-un moment anume pe server?
ps auwx |grep httpd |wc -l

Unde se afla fisierul cu log-uri de erori pe server?

“/var/log/httpd/error_log

Unde este fisierul cu log-uri de status ?

“/var/log/httpd/access_log


Coduri HTTP pe care ar fi bine sa le stiti

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
Guest
This topic is now closed to further replies.

WHO WE ARE?

CsBlackDevil Community [www.csblackdevil.com], a virtual world from May 1, 2012, which continues to grow in the gaming world. CSBD has over 70k members in continuous expansion, coming from different parts of the world.

 

 

Important Links