Remote Publishing, WordPress

No Comments »

I will sound a bit old-fashioned but my favorite word editor is and has always been “NOTEPAD”. It is way easier and less distracting that having to click a dozen times to get to the editor and get used to all the button/bars which changes from one page to another… I like the new Office 2010 (with the hidden ribbon), and the ability to publish directly with all the easy editing features is the icing on the cake.

HOW TO ??
http://www.screencast.com/users/absando/folders/Jing/media/2009773c-0bf6-4064-a528-e1918f5589f2

Posted on June 9th 2010 in IT/ Network Admin, LAMP-sites

## New XAMPP security concept (Apache 2.2)

No Comments »

hey

The new version of Apache 2.2 (installed with xampplite) comes with a set of new securities and I was installing WordPress for a friend of mind and it was a real pain in the a** to get his website published on the Internet.

Eventually, (just stick with it.. you’ll find the light.. initially we just get blinded by the “problem” and the problem of it being another new problem..) it was written very clearly at the end of the file

D:\xampplite\apache\conf\extra\httpd-xampp.conf

## New XAMPP security concept
<LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”>
Order Deny,Allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

For me it only made sense to make it all accessible through the Internet (.. the beauty of having it all anywhere in a webpage :) .. ) so I just changed
Deny from all to Allow from all

Just be careful though to put a password on MySQL database and changing the Acces through PhpMyAdmin..

Step 1:  Go into Phpmyadmin and change the mysql password..

- open your phpmyadmin page..
- Go to priviledges
- Edit Root Priviliges
- Change Password

Step 2:  Change the access method of phpmyadmin for Log-in..

D:\xampplite\phpMyAdmin

$cfg['Servers'][$i]['auth_type']            = ‘cookie‘;
$cfg['Servers'][$i]['user']                 = ‘root’;
$cfg['Servers'][$i]['password']             = ‘MyPassword‘;
$cfg['Servers'][$i]['AllowNoPassword']      = true;

And that’s it.. all good to go..

Well not quite for me.. we wanted to another “vitual directory” (the Microsoft guy would say) or rather an Alias (the Linux guy would say) that would give a /oterdirectory to a completely different folder on the disk..
http://www.mysite.com -> c:\xampplite\htdocs
http://www.mysite.com/software -> d:\MySoftware

Ok that was another tricky one since we have those additional securities of Apache right??.. Well turned out pretty simple to add.. Just set the securities on the folder as read for Everyone, then edit the file and add the following just before the </ifModule>..

D:\xampplite\apache\conf\extra\httpd-xampp.conf

Alias /software “D:/MySoftware/”
<Directory “D:/MySoftware/”>
Options Indexes
Order Deny,Allow
Allow from all
</Directory>

(Oh, Option Indexes - That is to make the folder Internet browesable.)

Posted on October 23rd 2009 in IT/ Network Admin, LAMP-sites

Calendar Pick

No Comments »

This week I had to make some modification in this little project I’m working with a friend and needed a new calendar pick.
The one I used to use was easy and just had to be an “include” and javascript parameter in the <’ input /> field, but wasn’t so nice looking and I guess pumped up the page because of the long include file.. Anyways, I’ve seen 2 which I liked and finally chose one, GNU License baby!! :)
My Previous Onezip
New Original Onezip -> Author: Martijn Korse , Website: http://devshed.excudo.net
New Modified One - zip

Modificiations was essentially to keep the basic feature that I needed and reduce the coding load so it is easy to integrate in multiple pages when working on a project. Well, just trim down the codes into external files and include them with PHP..

Thanks guys..


Posted on August 23rd 2009 in LAMP-sites

New project – Amagob Budget

No Comments »

The current project is to put in place a 1year financial plan and organize the family activities in a calendar. All expenses and gains are tabulated at the end of the month and compared to a budgeted figured that has been estimated at the beginning of the year..

Budget

Posted on February 16th 2009 in LAMP-sites