Thanks again turnermm
... its unchecked by default and I have not modified it.
As I said the problem is with the apache configuration ... Probably the following explanation gives you an idea whats going wrong ..
I have placed a file url.php with the following content
<?php
print "Script path: ". $_SERVER['PHP_SELF'] ."<br />";
echo dirname(__FILE__);
echo "<br />";
echo realpath(dirname(__FILE__).'/../').''
?>
As you can see at
http://www.ee.iitb.ac.in/student/~rsrkrishna/url.php
its showing the path to be /~rsrkrishna/url.php which should have been /student/~rsrkrishna/url.php
Any Idea whats going wrong ?
Thanks again
SRK