![](/img/trans.png)
[英]Access Denied You don't have permission to access site in Selenium Python
[英]Zend framework You don't have permission to access js/ckeditor/ **
我想將ckeditor與我的表單集成,我從http://ckeditor.com/download
下載ckeditor庫。
並按照指示從這里
http://golearnphp.com/zend-framework-how-to-add-fckeditor-to-a-zend_form/
我將ckeditor文件夾復制到public / js / ckeditor文件夾中,但是在嘗試訪問js文件時
You don't have permission to access /ZendTecAdmin/public/js/ckeditor/ckeditor.js
引發錯誤。
我的.htaccess
如下
RewriteEngine On
# The following rule tells Apache that if the requested filename
# exists, simply serve it.
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# The following rewrites all other queries to index.php. The
# condition ensures that if you are using Apache aliases to do
# mass virtual hosting, the base path will be prepended to
# allow proper resolution of the index.php file; it will work
# in non-aliased environments as well, providing a safe, one-size
# fits all solution.
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::$
RewriteRule ^(.*)$ - [E=BASE:%1]
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
請幫助解決此問題。 謝謝。
因此,我認為您需要授予對文件夾的所有訪問權限,
首先嘗試一個,否則創建一個包含它的文件夾名稱,並在create ckeditor
文件夾中,然后將所有文件放入該文件夾。
相應地將您的js
路徑更改為includes/ckeditor.
然后它會工作..
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.