我有一些错误
我创建了规则并将其收集到htaccess
#PHPVALUES
php_value upload_max_filesize 100M
php_value post_max_size 2M
php_value max_execution_time 3600
php_value max_input_time 3600
# php_flag display_errors 1
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{HTTP_REFERER} !^$
# RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?viim [NC]
# RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
#ERRORDOCUMENT
ErrorDocument 404 /error.html
#MAIN
RewriteRule ^adminPanel$ Application/file/admin/panel.php [NC,L]
RewriteRule ^adminPanel/setUser$ Application/file/admin/panel.php?userName=MDReal&password=c7c5f29a13446013a535b557608c3e4bc242ea5cb33bde062c88c6546e250f13 [NC,L]
RewriteRule ^$ indexing.php [NC,L]
RewriteRule ^([0-9a-zA-Z]+)$ indexing.php?q=$1 [NC,L]
RewriteRule ^new/([0-9a-zA-Z]+)$ indexing.php?q=new&t=$1 [NC,L]
RewriteRule ^news/([0-9a-zA-Z]{16}).html$ indexing.php?q=news&t=news&i=$1 [NC,L]
RewriteRule ^anounce/([0-9a-zA-Z]{16}).html$ indexing.php?q=news&t=anounce&i=$1 [NC,L]
RewriteRule ^red/Irect$ redIrect.php [NC,L]
#STYLE
RewriteRule ^styles/([a-z0-9A-Z.-]+)$ Application/style/f/$1 [NC,L]
#SCRIPT
RewriteRule ^scripts/([a-z0-9A-Z.-]+)$ Application/script/$1 [NC,L]
#FILE
RewriteRule ^action/do/([a-z0-9A-Z.-]+)$ Application/file/$1.php [NC,L]
#IMG
RewriteRule ^([a-z0-9]{1})/([a-z0-9A-Z.-]+)$ Application/img/$1/$2 [NC,L]
#FONT
RewriteRule ^fonts/([a-z0-9A-Z]+).([0-9a-zA-Z]+)$ Application/style/font/$1.$2 [NC,L]
# <IfModule mod_headers.c>
# <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js|/action/do/submit)$">
# Header set Access-Control-Allow-Origin "*"
# </FilesMatch>
# </IfModule>
但是当我想显示图像或使用ijax将iimage加载到我的网站时,我无法显示此错误,并返回403错误。
那是我的apache文件,当我想要观看图像返回403时请提供帮助 Thats image。请帮助