I have a folder structure where I have the following architecture
page
php
arquivos.php
tpl
arquivos.tpl(html)
style
arquivos.css
But I have a problem calling files in tpl's ... when I use the path
<link type="text/css" rel="stylesheet" href="../style/style.css" />
It returns out of the root of the project
I'm trying to use friendly URL's .htaccess is like this
<IfModule mod_rewrite.c>
RewriteEngine On
Options -Indexes
ErrorDocument 404 /Errors/404.html
ErrorDocument 403 /Errors/403.html
RewriteRule ^/?$ page/php/Home.php [NC,L]
RewriteRule ^contato/?$ page/php/Contato.php [NC,L]
</IfModule>