Hi everyone,
I am trying to install GRAV on Hiawatha, I copied the code
specific to the Hiawatha server and pasted it into my hiawatha.conf file,
and
just to note there is a small typo in the code from the Developer, one of the lines
of code has a gap between the letters ba t, it should be changed to bat
The code below has been corrected, and is what I am using to try and get GRAV
to install and work on my Hiawatha Server.
#=============================================START
UrlToolkit {
ToolkitID = grav
Match base64_encode[^(]([^)]) DenyAccess
Match (<|%3C)([^s]s)+cript.(>|%3E) DenyAccess
Match GLOBALS(=|[|%[0-9A-Z]{0,2}) DenyAccess
Match _REQUEST(=|[|%[0-9A-Z]{0,2}) DenyAccess
Match ^/(.git|cache|bin|logs|backup|webserver-configs)/(.) DenyAccess
Match ^/(system|vendor)/(.).(txt|xml|md|html|yaml|php|pl|py|cgi|twig|sh|bat )$ DenyAccess
#Match ^/(system|vendor)/(.).(txt|xml|md|html|yaml|php|pl|py|cgi|twig|sh|ba t)$ DenyAccess
Match ^/(user)/(.).(txt|md|yaml|php|pl|py|cgi|twig|sh|bat)$ DenyAccess
Match .md$ DenyAccess
Match ^/(LICENSE.txt|composer.lock|composer.json|.htaccess)$ DenyAccess
RequestURI exists Return
Match . Rewrite /index.php
}
#=============================================END OFF
THEN
I uploaded and unzipped the GRAV package titled “grav-admin-v1.0.10.zip” to
my server and placed all the extracted files and folders in a sub-folder on
my server titled explorer, from which I can access html and php pages, so php
is working, I am using FastCGI as follows,
php -v
PHP 5.6.22 (cli) (built: May 26 2016 15:36:45)
Then I typed, cd/…/explorer ,then, bin/grav install , and got the following
errors.
ERROR Missing .dependencies file in user/ folder
ERROR invalid YAML in .dependencies
I do not know what this means, so could someone tell me where to find
and how to install these dependencies, are they scripts, or just missing files,
I followed the install procedure from your site, and did not see these
dependencies listed under PHP requirements, so am at a loss.
Any help would be much appreciated
Thank you kindly, john