توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : چرا گاهی اوقات ارور 403 نمایش داده می شه؟
host-host
June 29th, 2012, 10:33
یه مدته که این ارور نمایش داده می شه و بعضی از فایلها لود نمی شن. بنظرتون مشکل چیه؟
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /tese
on this server.</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 Server at localhost7 Port 80</address>
</body></html>
RoobinaServer
June 29th, 2012, 11:27
ارور دسترسی هست
دسترسی یا همان پرمیشن فایلها یا فولدری که آن فایلها داخلش هستند درست هست ؟
host-host
June 29th, 2012, 12:24
دسترسی به همه فایلها وجود داره ولی مشکل از htaccess هست.
این بخش از ارور رو نگا کنید:
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
host-host
June 29th, 2012, 20:39
نظری در این مورد ندارید؟
bia4sms
August 21st, 2012, 09:47
مشکل از فایل هیدن htaccess هست که کدی در آن وارد شده که سطح دسترسی برای یک سری فرمتها رو بسته
که احتمالا همون فرمت فایل دلخواه شما بوده
host-host
September 6th, 2012, 13:12
قسمتهایی از فایل HTACCESS که فکر می کنم باعث مشکل شدن در ادامه قرار دادم. بنظرتون مشکل چیه:
#To privent from file listing in pages that dont have index file
IndexIgnore *
#To add charset
AddDefaultCharset utf-8
<limit put>
order deny,allow
deny from all
</limit>
#privent from FSOCKOPEN
# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>
# disable directory browsing
Options All -Indexes
# STRONG HTACCESS PROTECTION</code>
<Files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</Files>
#<Files .htaccess>
#order allow,deny
#deny from all
#</Files>
##############################
# BEGIN Compress text files
<ifModule mod_deflate.c>
<filesMatch "\.(css|js|php|x?html?)$">
SetOutputFilter DEFLATE
</filesMatch>
</ifModule>
# END Compress text files
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/x-icon "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 216000 seconds"
ExpiresByType application/javascript "access plus 216000 seconds"
ExpiresByType application/x-javascript "access plus 216000 seconds"
#ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|bmp|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, private"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "max-age=2592000, private"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "max-age=2592000, private"
</filesMatch>
<filesMatch "\.(x?html?)$">
Header set Cache-Control "max-age=600, private, must-revalidate"
</filesMatch>
</ifModule>
# END Cache-Control Headers
# BEGIN Turn ETags Off
<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None
# END Turn ETags Off
# BEGIN Remove Last-Modified Header
<ifModule mod_headers.c>
Header unset Last-Modified
</ifModule>
# END Remove Last-Modified Header
#################################################
#To privent from load your pics in other wweb sites
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
#RewriteRule \.(gif|jpg|jpeg|png|bmp|swf|flv)$ - [F]
#To show your pic in the sites which load your sites
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
#RewriteRule \.(gif|jpg|jpeg|png|bmp|swf|flv)$ http://www.mydomain.com/badimage.gif [R,L]
#################################################
host-host
September 6th, 2012, 13:13
لطفا راهنمایی کنید، کدها توی پست قبل خیلی کوچیک شدن و به همین دلیل ای پست رو ایجاد کردم که کدها واضح نماش داده بشن.