Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

apache show connections

#enable status module
sudo a2enmod status

#Open /etc/apache2/mods-enabled/status.conf and add your ip:
   
<Location /server-status>
    SetHandler server-status
    Require local
    Require ip your.ip.address.here
</Location>
    
#resart apache    
sudo service apache2 restart

#see server/apache status at www.yourwebsite.com/server-status
 
PREVIOUS NEXT
Tagged: #apache #show #connections
ADD COMMENT
Topic
Name
6+1 =