Web Platforms Archive

Poptop VPN Server – Windows Server AD Authentication – ntlm_auth –require-membership-of

Recently I have had the need to connect into my home LAN from work. I opted to go down the Linux route due to it’s lower resource consumption (compared to Windows) and that I also needed a solution that could be virtualised easily.
The Short
Change the line starting with ntlm_auth-helper in your /etc/ppp/options.pptpd to use the Windows groups [...]

July 26th, 2009  |  By Oliver  |  Tags: , , ,   |  Posted in Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

VMWare Duplicate Ping Responses

The Short
I found that running routing and remote access on a Windows server with virtual machines causes the virtual machines to receive duplicate (in some cases multiple duplicates) response packets this intern drastically lowers the network adapters through put.

The Long
Recently I have setup a new IP PBX for my office lines and desk phones. We also decided to [...]

June 22nd, 2009  |  By Oliver  |  Tags: , , ,   |  Posted in Web Platforms  |  5 Comments »
(4 votes, average: 5.00 out of 5)
Loading ... Loading ...

How to resolve Fatal error: Class ‘mysqli’ not found / Unable to load dynamic library ‘c:\PHP\ext\php_mysql.dll’ – Access is denied.

After much digging around on the net and of course Google I managed to cobble together a trouble shooting process to find out why I was getting the error message:
Fatal error: Class ‘mysqli’ not found in E:\mysite\sql.php on line 17
PHP Warning: PHP Startup: Unable to load dynamic library ‘c:\PHP\ext\php_mysql.dll’ – Access is denied. in Unknown [...]

July 31st, 2008  |  By Oliver  |  Tags: , ,   |  Posted in Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

Cpanel / WHM – Couldn’t find MySQL manager or server or missing mysql.sock or missing hostname.pid

We have just leased a nice new dedicate box to run a few high-hit ecommerce sites. Our new dedicated servers are usually pre-loaded with WHM/Cpanel (Cuts ttl) as was the case with this one.
We recieved confirmation that the server had been setup and was live and proceeded to re-configure it for the specific sites. WHM [...]

March 13th, 2008  |  By Oliver  |  Tags: , ,   |  Posted in Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

How to pipe logs from Apache to PHP / How to seperate Apache log files with PHP

I recently needed to do this for a client to customise and merge the logged data from Apache into a presentable format. A by-product of this was the ability to also roll the log file on a daily basis.I found limited information regarding how to do this most of which were methods that were faulty [...]

March 6th, 2008  |  By Oliver  |  Tags: ,   |  Posted in Web Platforms  |  1 Comment »
(No Ratings Yet)
Loading ... Loading ...

Upgrading OpenSSL on a CPanel / WHM Server – Basic How to guide

CPanel regularly lags behind the latest versions of some of its software components. For me in particular this delay in upgrading OpenSSL was causing security issues for a customers dedicated server. CPanels security manager was advising us that that a) the build we were using was hack free (not the case) b) indicating that the [...]

December 19th, 2007  |  By Oliver  |  Tags: , ,   |  Posted in Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

Preventing HTTP TRACE Method Cross Site Scripting Attacks

What is a cross site scripting attack?:
“Cross-site scripting (XSS) is a simple idea at heart: the attacker loads exploitative HTML, including a client-side script, into a web site, typically one which allows public submissions and which does not properly quote HTML tags. Any user of the site who reads the story loads the exploit into [...]

December 19th, 2007  |  By Oliver  |  Tags: ,   |  Posted in Web Platforms  |  No Comments »
(1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Compiled C++ application errors out with: error while loading shared libraries: libstdc++-libc6.2-2.so.3

I recently came across a problem while trying to get a pre-compiled C++ executable to run on a new CentOS Enterprise 5 server. The executable kept quitting due with the following message:
/home/usr/testusr/TestApp.e: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
I scowered the internet looking for the correct [...]

October 18th, 2007  |  By Oliver  |  Tags:   |  Posted in Other Stuff, Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

SQL Security

SQL injection attacks pose a major security threat to un-guarded application code. Learn how to better protect your queries and code from these types of malicious attacks in this article by Angus Mackay. See his site for more info.

http://www.colinmackay.net/tabid/57/Default.aspx

August 24th, 2007  |  By Oliver  |  Tags: ,   |  Posted in Web Development, Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...