Posts tagged Apache
500 Internal Server cgi – perl
Jul 8th
I am not much of a developer and when I had a problem with Actinic I had to start fault finding from the ground up.
Actinic puts a number of Perl and CGI scripts in the cgi-bin dir. To rule out Actinic the first thing I tried was a simple Perl test script:
#!/usr/bin/perl print "Content-type: text/plain\n\n"; print "testing...\n";
What Apache Modules are enabled
Mar 19th
To find out what Apache modules are enabled all you need is two files.
First of all create a modules.shtml file and place the following in it:
<!--#printenv -->
Then create a .htaccess file if you don’t have one already or append the following lines to your existing .htaccess file.
mod_deflate
Feb 16th
There is something called mod_deflate for Apache 2.x that helps to do auto compression. This is particularly helpful in reducing bandwidth of those nasty jquery plugins. mod_deflate has replaced Apache 1.3′s mod_gzip in Apache2. If you want to serve compressed files with Apache 1.3
Add the following the apache config file (eg. httpd.conf), the line might already be there but commented out #. If that is the case just remove the # symbol
LoadModule deflate_module modules/mod_deflate.so
ServerAlias (plesk, linux)
Jan 21st
If you don’t have a domain alias option within plesk and you have shell access you can do the following:
To resolve this edit (or create) the vhost.conf file which is located in /var/www/vhosts/domain.com/conf/
Add the line:
ServerAlias www.thesupportsystem.co.uk
Then reconfigure it to use this new config
/usr/local/psa/admin/sbin/websrvmng -u –vhost-name=www.thesupportsystem.co.uk
Restart apache:
service httpd restart
and that’s it
PCI Compliance for Plesk (linux)
Dec 23rd
![]()
PCI Scanning stands for “Payment Card Industry” scanning. It involves having a PCI ASV (Approved Scanning Vendor) scan any and all IP addresses that the public has access to, related to your website or your site’s transaction process.
The following guide assumes you are working with a Plesk 8.6 (or above) installation on RedHat Enterprise or CentOS Linux. You will need shell / root access to your server running Plesk, if you do not have shell / root access then you will need to ask your server hosts to make the changes.
WARNING:This document does not serve as a comprehensive source for PCI compliance advice. The reader is expected to have some basic systems administration experience. Do not copy and paste examples directly from this document without first understanding their implications.