Installing Mod_h264 on Cpanel/WHM

Mod_h264 is a plugin is requirement of video website to stream high quality mp4 videos on their website.

 

Use of It:

Timeshifting seek

Enable your viewers to immediately jump to any part of the video regardless of the length of the video or whether it has all been downloaded yet.

Virtual video clips

You have really long video clips and you don’t want to re-encode them into smaller parts? We also support ‘virtual video clips’, so you can specify to only playback a part of the video or create download links to specific parts of the video.

Today I will show you all how to install mod_h264 on cpane/whm

 

How to Install:

wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
sudo yum install httpd-devel
sudo yum install httpd mod_ssl
cd ~/mod_h264_streaming-2.2.7
./configure
make
sudo make install
sudo vi /usr/local/apache/conf/httpd.conf
Add the line
‘AddHandler h264-streaming.extensions .mp4’
after the line
‘LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so’
sudo /etc/init.d/httpd start

As soon as the Apache restart mod_h264 will start working on your server. If you have any issue, fell free to contact us anytime

Read More

Install AWStats For Free Log Analyser

What Is AWStats:

AWStats is a free powerful and feature tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers.

How To Install:

wget http://www.awstats.org/files/awstats-7.1.tar.gz

tgz -xvzf awstats-7.1.tar.gz

cd /awstats-7.1/tools/

./configure.pl

Now follow the setup prompt and Installation will be completed in couple of minutes.

Read More

Is Symlink Attack A threat For Web Hosting Companies?

A Symlink Aka symbolic link is a virtual link pointing to a file in a directory. In shared Linux environment hard disk space in divided in several parts for different account. When proper security measures are not taken it may happen a shared hosting account can take over to another shared hosting account on same server by launching symlink attack. Certain measures have been taken by companies to block these types of attack and they have build their own private patches to harden server security. But what are you doing to stop symlink? Search online you will get solutions like blocking follow symlink or changing some settings in httpd.conf. Enough post or solutions are still not available online to provide full proof security. There are many ways and means to bypass those settings and initiate symlink attacks to break server security but I am not going to explain how to do it. Lets see how this attack can be initiated.

How It’s Done?

Well just by passing a proper symlink query will do the job.

Syntax:

ln -s target_file_path new_file_name

Suppose you have a site xyz.com a WordPress site on a cpanel server and its user is xyz and another user abc.com just have to run ln -s /home/xyz/public_html/wp-config.php wo.txt to get that file. This will get full source code of that file and known as full file disclosure vulnerability. Run the symlink attack on your server to make sure you are safe.

In case you need help feel free to contact us.

Read More