Archive for the ‘Apache’ Category

linux server status monitoring simple script

Create the following scripts in a file and call the file in crontab at desired intervals
echo “……………………. SERVER MONITORING REPORT ……………………..” > /scripts/report.txt
echo “APACHE SERVER:-” >> /scripts/report.txt
/sbin/service httpd status >> /scripts/report.txt
echo “MYSQL SERVER:-” >> /scripts/report.txt
/sbin/service mysqld status >> /scripts/report.txt
echo “SSH/SFTP:-” >> /scripts/report.txt
/sbin/service sshd status >> /scripts/report.txt
echo “SENDMAIL:-” >> /scripts/report.txt
/etc/init.d/sendmail status [...]

install mod ssl on apache

I am going to give you the steps to install mod_ssl on an Apache server by compiling the source.
Download the following packages
1. apache_1.3.14.tar.gz   http://www.apache.org
2. openssl-0.9.6.tar.gz http://www.openssl.org
3.  mod_ssl-2.7.1-1.3.14.tar.gz http://www.modssl.org

I have created a folder called  /downloads/src and downloaded all packages here

Go to Apache source files and  compile it as shown below
# ./configure –enable-module=so [...]

Job Vacancy Head System for Vectorshades

Job Profile : Head – Systems. — Contact at 9895527145 for applying
Salary is negotiable and could be anywhere around 30k
EDUCATION
• MBA–IT  / • Post Graduate Diploma in System Development (PGDSD) ,
CAREER SKILLS
• MIS Solution Development / MIS Reporting skills
• Software Development (PHP/ASP/MYSQL/MSSQL) &  Technical Support
• Systems Management
• Inventory control Systems
• Costing and negotiation skills
• Financial [...]

configure perl in apache

In order to browse  perl files (.pl) through apache serer you need to  add few lines in apache configuration file ( httpd.conf)
Add the following in  httpd.conf
AddHandler cgi-script .cgi .pl
Now find the following section
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Add   +ExecCGI to the options list. So it  looks like as follows now
Now find the following section
<Directory />
Options FollowSymLinks +ExecCGI
AllowOverride [...]

Find PID of a PHP script

I have been trying to find the PID of a php site which is hosted in my apache web server. I did not know that it was very easy until in found the built in php function getmypid(). To find the process ID (PID) of a PHP script  use the following code in your php [...]


Fatal error: Call to undefined function wp_list_addonn() in /home/aneesh/public_html/wp-content/themes/Grante/sidebar.php on line 106