Follow Ohmkumar on Twitter
17
Dec/09
0

Trim .php extension using .htaccess

Trim your .php extension in your web application using .htaccess

RewriteEngine on
RewriteRule ^$ index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)/$ $1/index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)$ $1.php

22
Jul/09
1

Be careful while using OpenID

OpenID
OpenID users be careful, while using OpenID.
Because OpenID is designed for user can login using single ID for sign in multiple websites,
but the thing is OpenId user always sign in using the external application.
In background user has silently logged in OpenID account.
Finally the user closed the external web application using signout.

Still OpenID account session is alive and logged in.
If you used this in a public computer the same OpenID account name also in cache.
with that another user can login to your account easily.

So signout both the external application and the OpenID too.

BEWARE OF OPENID

26
May/09
0

Backdoor Opening for Google bot

Recently i have gone through the document which is related with the

backdoor opening in a Magazine sites like Windows Magazine, Nature and many more.

Most of the persons given the search query in Google then they tried with the upcoming

list of links. In the list of links few of them you can’t able to view without registration.

Why it’s happening?
All the sites are having some backdoor opening for Google bots.

so that only bots can crawl, Site owner allowed this for site hits.

Google bot

what can we do?
Now you can declare your self as Google bot.
Change your browser user agent:
How?

Copy the following code in a notepad and save it as Useragent.reg

then merge with your registry

[sourcecode language='plain']
Windows Registry Editor Version 5.00

[HKEY_LOCAL MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]

@=”Googlebot/2.1?

“Compatible”=”+http://www.googlebot.com/bot.html”
[/sourcecode]

You can also revert with the following code. but save this code as a NormalAgent.reg

[sourcecode language='plain']
Windows Registry Editor Version 5.00

[HKEY_LOCAL MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]

@=”Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)”
[/sourcecode]

6
Feb/09
0

Get Experts-Exchange.Com Account For Free

However, there is a pretty unknown backdoor link allowing you to signup for free as shown below.
Back Door Operation

http://www.experts-exchange.com/registerFree2.jsp

22
Oct/08
0

Domain redirect

Domain redirect

The domain has to be redirected from http://domain.com to http://www.domain.com to stop content duplication.
This has to be done by creating the .htaccess file in the root folder.

creating .htacces file is very simple.

Open a notepad or any text editor copy paste the following code

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^yourdomain.com [nc]
rewriterule ^(.*)$ http://www.yourdomain.com/$1 [r=301,nc]

in that above code modify yourdomain then save the file as .htaccess without any filename

upload the .htaccess file in your root directory.

That is it. Your domain has redirected.