Thanks, Worked, what I did is:
I changed .htaccess to:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$
htaccess.php [QSA,L]
</IfModule>
As you can see, I replaced index.php with htaccess.php, and then I did pasted the following contents inside htaccess.php(instead of pasting inside index.php):
<?php
define('CONF_FILE', dirname(__FILE__).'/'.'opauth.conf.php');
define('OPAUTH_LIB_DIR', dirname(__FILE__).'/lib/Opauth/');
if (!file_exists(CONF_FILE)){
trigger_error('Config file missing at '.CONF_FILE, E_USER_ERROR);
exit();
}
require CONF_FILE;
require OPAUTH_LIB_DIR.'Opauth.php';
$Opauth = new Opauth( $config );
?>
Hope this may help to others.
hanks again, great work from your side.