top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Why the following wget returns a 403/forbidden?

+1 vote
88 views

I was curious as to why the following wget returns a 403/forbidden. The base url is accessed via the ff/chrome browser.. As far as I can tell/see, the cmd should match what the network is seeing regarding the headers/traffic.

wget -vvv --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"  --cookies=on  --load-cookies=aa.lwp  --keep-session-cookies  --save-cookies=aa.lwp  --referer http://coursebook.utdallas.edu 
posted Apr 11, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
Could be they have a wget deny in the web server which will be honored unless you force wget usage.
Check the man pages.
On my fc22, I am getting the index.html file, using an older version of FF.

But if you like, you can add the options -r --no-parent to get the whole enchillada or if you know the full path of the file you want, then you need to specify that full path.

Similar Questions
+1 vote

I am using Apache Tomcat 8.0.0-RC3 Server and spring dispatcher servlet . I am getting 403 forbidden while using HTTP PUT method but HTTPGET method is working properly. I am trying to solve this with security constraint but it is giving me 409 conflict error because I am using spring dispatcher servlet and It is not working.But It is working perfect on tomcat 7 .Please help me to get rid of this .

...