Here\'s what my diretory tree looks like
/application
/lib
/util
/login
/views
/base_view
My login page is
I faced the a similar problem and the error I got was object not found
/application
/includes
connect.php
insert.php
index.php
<form action="/includes/insert.php" method="post">
//code
</form>
the above code didn't work and showed the error 404, Object Not Found. But,
<form action="./includes/insert.php" method="post">
//code
</form>
The only difference is adding . in the action path.
The strange things is /include/filename works fine for require or include but you will need to add . for form action attribute
In your relative path ./util/login/main.php, you're using ./ which refers to the current folder, so it assumes that the folder structure /util/login is inside /base_view. You should try using ../ which refers to the parent folder:
<form class="form_login" action="../../util/login/main.php" method="POST">
...
</form>
You must use .. / to go to parent directory
<form class="form_login" action="../../util/login/main.php" method="POST">
...
</form>
You need to set the action to a better relative path or use an absolute path. Examples:
../../util/login/main.php
or
/astuto-lena/branches/application/util/login/main.php
./ simply means this directory (aka current working directory)