Hi,
I'm not sure there's bb tags for code etc.. so pardon in advance.
My html template:
{# app/views/templates/main.volt #}
<!DOCTYPE html>
<html>
<head>
<title>{% block title %}{% endblock %}</title>
<meta charset="utf8">
<link rel="stylesheet" href="{{ static_url( "public/css/main.css" ) }}">
</head>
<body>
<div id="content">
{% block content %}{% endblock %}
</div>
</body>
</html>
The output is:
<!DOCTYPE html>
<html>
<head>
<title>My Index Page</title>
<meta charset="utf8">
<link rel="stylesheet" href="/catechize/public/css/main.css">
</head>
<body>
<div id="content">
<h1>Index</h1>
</div>
</body>
</html>
When I try to load that CSS file, which physically exists, it tries to load a Controller: CatechizeController handler class cannot be loaded
Though my .htaccess in public folder skips real files:
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
</IfModule>
Thanks for any help!