Posted by Tyrone Slothrop on 11/14/06 14:13
On 14 Nov 2006 04:37:57 -0800, "Prasad" <prasadk14@gmail.com> wrote:
>HI all,
>
> I have a problem when i type in the browser ..
>
> http:/www.mydomain.com/home.php/
>
> instead of
>
> http:/www.mydomain.com/home.php (no forward slash at the end )
> its opening the same page ..but behaving very weird ..
>( All the realative links in the content of that page are now with
>reference to the above url ..
>
> for example .. if i submit a form to a url "groups.php".. , the
>requset is goin to http:/www.mydomain.com/home.php/groups.php ....
>no such url exists ...the valid url is ..
> http:/www.mydomain.com/groups.php.
> )
>
>Can i solve this problem even if i type
>----http:/www.mydomain.com/home.php/ in the browser ????????????
Use a base href tag in the head of your html.
<base href="http://www.mydomain.com/">
Navigation:
[Reply to this message]
|