Hi there
On https://phalcon-php-framework-documentation.readthedocs.io/en/1.2.0/reference/tutorial.html , they write i have to place a .htaccess file on /
:
"Let’s create a couple of rewrite rules in the /.htaccess file:"
...its content should be:
/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
...BUT: The direcory structure is as follows:
tutorial/
app/
controllers/
models/
views/
public/
css/
img/
js/
So there can't be the entries RewriteRule ^$ public/ [L]
and RewriteRule (.*) public/$1 [L]
, because there is NO/public
folder on webserver root path... the public folider is /tutorial/public
on NOT /public
That does match in my opinion...(?)
(Maybe i'm wrong, but i don't think!!)
Thank you for your feedbacks! :-)
With best regards, Jan