Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries for May 2nd, 2008

How-To: Fix “command not in docroot” suexec apache error

If you’re in the process of setting up a new server, and you want users to have the ability to execute scripts in their home directory: http://myserver.com/~myname You will often run into problems with suexec. suexec is an apache security construct to stop users from executing scripts outside of a known path. I was recieving [...]

Comments (1)

How-To Fix Perl Error: Can’t locate object method “new” via package “LWP::Protocol::https::Socket”

I came across the following error while trying to connect to an LDAP server over HTTPS using the Perl module SOAP::Lite: Can’t locate object method “new” via package “LWP::Protocol::https::Socket” The way to fix this problem is to install the Crypt::SSLeay module from CPAN. Hope that helps someone!

Comments (2)

How-To: Update all system packages with yum

This might sound like a really really simple thing to do, but it actually took me a little while to work out how to do this. To list all the available packages available for update, use the command: yum list available To update all packages on your system to the latest version, use the command: [...]

Leave a Comment