Zend framework Zend框架-don';我没有公开访问文件的权限
这是我的iframe:Zend framework Zend框架-don';我没有公开访问文件的权限,zend-framework,Zend Framework,这是我的iframe: <iframe allowtransparency="true" class="igm" src="/flash/dewplayer-vol.xml& amp;container=enterprise&view=default&lang=en&country=ALL&sanitize=0& amp;v=cb90d5949f2275bc&up_CCOL=%23d1dae3&
<iframe allowtransparency="true" class="igm" src="/flash/dewplayer-vol.xml&
amp;container=enterprise&view=default&lang=en&country=ALL&sanitize=0&
amp;v=cb90d5949f2275bc&up_CCOL=%23d1dae3&up_START=No&
amp;up_MP3=http://www.youtube-mp3.org/get?video_id=z0FERtqhwHs&
h=6a29a4973a0431d2638ba3f5a1aecfeb&r=1373776845504&up_LOOP=No&
amp;libs=analytics:core:flash&mid=55&rpctoken=-1666220716119396559"
frameborder="0" height="400" scrolling="yes" width="500"></iframe>
但当我打开页面时,会出现:
禁止的
您没有权限访问此服务器上的/flash/dewplayer-vol.xml&container=enterprise&view=default&lang=en&country=ALL&sanitize=0&v=cb90d5949f2275bc&up\CCOL=#d1dae3&up\u START=No&up\u MP3=
位于212.43.43.254端口80的Apache/2.2.8(Win32)PHP/5.2.6服务器
这是我的httpd.conf文件:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:\AppServ\www\site\public
</VirtualHost>
<Directory "C:/AppServ/www/site/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
NameVirtualHost*:80
DocumentRoot C:\AppServ\www\site\public
选项索引多视图跟随符号链接
允许超越所有
命令允许,拒绝
通融
在web服务器中,您必须遵循以下几个步骤:立即抛出所有这些
1.查找httpd.conf
文件(通常您会在名为conf、config或类似的文件夹中找到它)
2.在httpd.conf
文件中,取消对LoadModule rewrite\u modulemodules/mod\u rewrite.so行的注释(删除行前面的磅“#”符号)
还要查找未注释的ClearModuleList行,然后查找并确保AddModule mod_rewrite.c行未注释掉
你还有更多的疑问,然后转到这里
也
如果您以默认方式设置虚拟主机,即
<VirtualHost *:80>
DocumentRoot "D:/Users/user/www/yourwebsite.dev/public"
ServerName .local
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
<Directory "D:/Users/user/www/yourwebsite.dev/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
DocumentRoot“D:/Users/user/www/yourwebsite.dev/public”
本地服务器名
#在生产环境中应该忽略这一点
SetEnv应用程序\环境开发
选项索引多视图跟随符号链接
允许超越所有
命令允许,拒绝
通融
您可以通过以下方式访问公共目录:
和公共目录中的文件:
都是关于DocumentRoot的。
我希望这肯定会对您有所帮助。请更改DocumentRoot的斜杠C:\AppServ\www\site\public我更改DocumentRoot的斜杠,但没有结果您是否重新启动了服务器?是的,我重新启动了服务器