我对 nette php 框架完全陌生,我按照以下步骤启动了我的第一个 nette 项目:
1-
cd xampp/htdocs
2-
composer create-project nette/web-project nette-blog
3- 打开
http://localhost/nette-blog
& http://localhost/nette-blog/ww
但是在这里我在浏览器上遇到了这个错误:
禁止您无权访问此资源。
那么这里出了什么问题呢?如何在 Windows 上正确运行 nette 项目?
问题出在nette-blog文件夹中的.htaccess文件中,命令在哪里
Require all denied
用类似的东西替换它
#Require all denied
RewriteEngine on
RewriteRule ^(.*)$ /www/$1 [L]