magento: Status: HTTP/1.1 403 Forbidden when viewing HTTP Request and Response Header -


i used http://web-sniffer.net/ testing site, result below:

http request header

connect ********** on port 80 ... ok  / http/1.1[crlf] host: **********[crlf] connection: close[crlf] user-agent: web-sniffer/1.0.44 (+http://web-sniffer.net/)[crlf] accept-encoding: gzip[crlf] accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[crlf] accept-language: en-us,en;q=0.5[crlf] accept-charset: iso-8859-1,utf-8;q=0.7,*;q=0.7[crlf] cache-control: no-cache[crlf] referer: http://web-sniffer.net/[crlf] 

http response header

name    value   delim status: http/1.1 403 forbidden date:   tue, 09 apr 2013 04:58:52 gmt    server: apache   expires:    thu, 19 nov 1981 08:52:00 gmt    cache-control:  no-store, no-cache, must-revalidate, post-check=0, pre-check=0   pragma: no-cache     set-cookie: frontend=d661c78db51b210814a8196466c81849; expires=tue, 09-apr-2013 05:58:52 gmt; path=/; domain=www.lebunnybleu.com; httponly   connection: close    transfer-encoding:  chunked  content-type:   text/html; charset=utf-8 

so how fix "status: http/1.1 403 forbidden" ?

http error 403 – forbidden means access file/folder trying open has been denied, either on purpose or due misconfiguration. 2 common causes of "403 forbidden" error are: 1. incorrect file permissions 2. "no index" in .htaccess file improperly used

correcting 403 forbidden error:-

  1. first, want check file permissions each of files has set. if file or folder set "777" "world" writable security reasons 403 error displayed protect website hacks. folders should have permissions set "750" or "755" , files should set "644"

  2. once have verified permissions correct , issue still persists, need check .htaccess file. please keep in mind can have multiple .htaccess files in account, may need search / modify .htaccess files other public_html/.htaccess. example, if have addon domain located @ public_html/addon_domain, you'll need check .htaccess files within folder well. if 1 of lines in actual file says "options -indexes" remove "-indexes" , save file.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -