HTML - 403 Forbidden
Hi All
Ive developed a website in a sub directory of my webspace and now its complete I've moved the files to the root directory. The problem I have now, is rather than display the index page I get a blank page with the error "Forbidden You do not have permission to access this document. " I can see the website fine if i manually define the index.php file in the address bar but obviously this is not what people will do when visiting my website. I am using an Apache server. Similar TutorialsHi, I want to download data from web but failed. I need to download some stock info (High, Low, Price ) from he http://money18.on.cc/eng/info/livein...l?symbol=00001 The problem is those data is generated thru javascript and not appearing in the html file that I've download from the above link . What I've done: 1. used Firebug to trace the js. 2. identified data is generated thru this link" http://money18.on.cc/js/real/quote/0...=1287193281904 ("00001" is the stock number and "t=128719328190" is the timestamp) 3 . used Firefox Live Http Header to trace the headers of http://money18.on.cc/eng/info/livein...l?symbol=00001 and found this (just extracted a portion of it): Code: --------------------------------------------------------- http://money18.on.cc/js/real/quote/00001_r.js?t=1287193281904 GET /js/real/quote/00001_r.js?t=1287193281904 HTTP/1.1 Host: money18.on.cc User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10 Accept: */* Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Referer: http://money18.on.cc/info/liveinfo_quote.html?symbol=1 Cookie: m18-sHist=2930_0-566_0-5_0-3998_0-8321_0-959_0-1163_0-379_0-916_0-1_0 HTTP/1.1 200 OK Date: Sat, 16 Oct 2010 01:41:19 GMT Server: Apache/2.0.52 (Red Hat) Last-Modified: Fri, 15 Oct 2010 08:00:59 GMT Etag: "2e3922e5-be-3a1ac4c0" Accept-Ranges: bytes Vary: Accept-Encoding,User-Agent Content-Encoding: gzip Content-Length: 142 Keep-Alive: timeout=3, max=14999 Connection: Keep-Alive Content-Type: application/x-javascript ---------------------------------------------------------- 4. used the browser to go he http://money18.on.cc/js/real/quote/00001_r.js?t=1287193281904 and got "Forbidden" 5. used perl and specified those headers found in "Live Http Header" to extract the content. Still the same "Forbidden" Do you have any solution to download those data? Thanks! |