Creative Commons License
Drekendrop | Blog of Tutorial by Mei Pakpahan is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at
Permissions beyond the scope of this license may be available at

Share This

Monday, February 7, 2011

Install OpenSSL and cURL on Appserv Windows XP 32-bit

What i want to share here is something that you might have tried hard and didn’t return you any success. I’ve tried to understand and install it onto my Windows XP and thank God it works after a long.
First you need these kind of files :
1. openssl.exe
2. openssl.conf
3. abs.exe
5. libeay32.lib
6. ssleay32.lib
1st Step ——–
Copy openssl.exe, abs.exe, openssl.conf onto [drive]:\AppServ\Apache2.2\bin
2nd Step ——–
Copy onto [drive]:\AppServ\Apache2.2\modules
3rd Step ———
Copy libeay32.lib and ssleay32.lib onto C:\Windows\system32
4th Step ——–
Open httpd-ssl.conf which is located in [drive]:\AppServ\Apache2.2\conf\extra and modify as shown below :
ServerName [your_host_name]:443
ServerAdmin admin@[your_host_name]
then save it.
5th Step ———
Open httpd.conf which is located in [drive]:\AppServ\Apache2.2\conf and modify as shown below :
change #LoadModule ssl_module modules/ to
LoadModule ssl_module modules/ —> (remove #)
change #Include conf/extra/httpd-ssl.conf to
Include conf/extra/httpd-ssl.conf —> (remove #)
6th Step ———
Generate SSL Certificate
by using Command Prompt go to [drive]:\AppServ\Apache2.2\bin
and type as shown below :
[drive]:\AppServ\Apache2.2\bin > openssl.exe req -config openssl.cnf -new -nodes -out server.csr -keyout server.key
answer all the questions and press enter on after you answer question one by one.
when it came to the question Common Name, you have to fill it as your_host_name
then type :
[drive]:\AppServ\Apache2.2\bin > openssl.exe x509 -in server.csr -out server.crt -req -signkey server.key -days 365 -set_serial 1
7th Step ———–
Move server.key and server.crt from [drive]:\AppServ\Apache2.2\bin onto [drive]:\AppServ\Apache2.2\conf
Delete server.csr and .rnd
8th Step ———–
Open php.ini which is located to C:\Windows and modify as shown below :
remove the semicolon (;) from ;extension=php_curl.dll, ;extension=php_openssl.dll, ;extension=php_xmlrpc.dll
9th Step ————-
Restart your Apache server.
10th Step ————
Test your ssl by browsing https://your_host_name/
Test your cURL by using this php script:
$url = ““;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_POST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$returned = curl_exec($ch);
curl_close ($ch);
echo $returned;
it should has return (from :
302 Moved
The document has moved here.
Those are 10 Steps to install OpenSSL and cURL on AppServ under Windows XP 32-bit.

Enable mod_rewrite in Apache

What does mod_rewrite do? If you have heard about htaccess (extension : .htaccess), then you might need it. Mod_rewrite has to be enable first if you want to use htaccess file on your website.
In this tutorial, i am using Appserv as my web server. But actually it won’t have a significant differences with other type of web servers (e.g XAMPP, LAMP, WAMP etc).

–1st step
Find http.conf file which is located in [drive]:\AppServ\Apache2.2\conf

–2nd step
Open http.conf in notepad. Find #LoadModule rewrite_module modules/

–3rd step
Remove sharp (#) from #LoadModule rewrite_module modules/ then it supposed to be just LoadModule rewrite_module modules/

–4th step
Restart your Apache. Then try to reload your website with your .htaccess inside.

Good luck!

Adding front page image to Moodle page

Howdy! This time i want to give tutorial for adding image on the front page of Moodle.

–1st step
Log in as Moodle Administrator, as you logged in you’ll see Site Administration panel at the left side of page.

–2nd step
Go to Front Page and choose Front Page settings.

 –3rd step
Find Include a topic section, there’s a note If selected, a topic section will be displayed on the site’s front page, check the checkbox. And then Save Changes.
–4th step
Return to your Moodle front page. Turn Editing On. Click on the Edit Summary icon (it looks like a pencil icon).

–5th step
In the summary site editor, Insert image, and Save changes when you’re finished.

Now you have image/s displayed on your Moodle front page. Woo hoo!

Assign users as any role in Moodle course

I decided to write this tutorial, some people may think it’s a silly tutorial or not even worth to be called as tutorial, but believe me, i decided to write it because i kept getting this question from some people : How to assign or add students to Moodle course? So, let’s start it.

–1st step
Log on to your Moodle page. And go to your course. Remember, you can only do this tutorial successfully if your role is Administrator or Course Creator and Teacher.

–2nd step
Once you get into your course, click on button  ‘Turn Editing On‘. 
And click on Assign role icon.
Assign role

–3rd step
Click on any type of role, for example Student. It will show you list of potential users at the right textbox, click on the student’s name, then Add.

Click Assign roles in Course : course_name button.

Now, the student has been assigned to your course. Good luck!

Tuesday, February 1, 2011

Welcome to Drekendrop

Hello! I am the author of Drekendrop. Drekendrop is taken from the words 'drag and drop' and it is pronounced in Indonesian as 'drekendrop', that's the reason why must 'Drekendrop'. In this blog i would like to share some tutorials about web including the database systems, programming, design, and administration, based on my experiences, all those matters that has stressed me out are here. not hesitate to contact me by email or write comment on this blog.

Thank you for visiting and good luck on your learning!


Note: Drekendrop's author is as known as Jump2TheJAM | sofdadesign and Offdadesign.

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Grants For Single Moms