LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old
Rating: 2 votes, 5.00 average.

Logwatch, webserver logs, PHP malarky

Posted 10-03-2009 at 05:52 AM by unSpawn
Updated 04-01-2012 at 05:18 PM by unSpawn (//Enhanced logwatch/scripts/services/http diff, added Snort ET SID 2010920 rule and fail2ban regex example, fixed commas (thanks leslie_jones).)
Tags logwatch, patch, php

As I'm seeing more questions about (badly coded) web applications spawning rogue processes I wonder why people don't read their logs. Attacks require reconnaissance so keeping an eye on anything that looks like a prelude enables you to take measures. And please spend time updating when updates are released, installing apps properly (like not leaving the installation files around when docs remind you not to), hardening (any IDS, mod_security, Gotroot rulesets, mod_evasive or equivalent, PHPIDS, Suhosin,...
Moderator
Posted in Uncategorized
Views 3929 Comments 0 unSpawn is offline
Old

Learning new things - Mysql, Apache, PHP

Posted 03-03-2009 at 07:26 PM by mwlaursen@aol.com
Tags apache, mysql, php

Bought a book on this subject matter. I have a server with Red Hat on it that I am loading up with mysql, apache and PHP.

The mysql was a trick of sorts. I had loaded and then load apache, that worked and then load php. PHP was missing the mysql.sock file, it was not happy on the ./configure. Today found out that msyql was not really running. I was able to remove the package and re install. Then found received another mysql.sock error. This one I found on the internet, and told me...
LQ Newbie
Posted in Uncategorized
Views 2095 Comments 1 mwlaursen@aol.com is offline
Old

GMaps API tile server

Posted 01-28-2009 at 01:59 PM by spirov92
Updated 01-28-2009 at 02:03 PM by spirov92

So, I've been messing around with the GMaps API, trying to create my custom map type. It took me a lot of time, so I decided to share the code I ended up with.
This script serves content to the Google Maps API. It divides each requested tile into 8x8=64 squares and for each one displays the highest-rated picture that belongs to it.
PHP Code:
<?
//this script should serve content for the gmaps api

//we're echo-ing out an image, so we should show that
...
LQ Newbie
Posted in Uncategorized
Views 3361 Comments 0 spirov92 is offline

  



All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration