Sponsored Content
Full Discussion: Wget-403-Forbidden-Error
Top Forums Shell Programming and Scripting Wget-403-Forbidden-Error Post 302919852 by jacobs.smith on Saturday 4th of October 2014 10:17:26 PM
Old 10-04-2014
Quote:
Originally Posted by Corona688
It simply cannot be accessed from here. DNS returns nothing. Very very strange.

If it's somehow valid where you are, you could try playing with the referer settings:

Code:
wget --referer=http://www.dli.gov.in/ -U netscape

...which should pretend a little more to be a web browser and not a mining robot.

But actually, it would be simpler to go to http://www.dli.gov.in/data6/upload/0159/808/PTIFF/ in your browser and save that webpage, and get all the URL's from there.
Corona,

Actually only the tif files are made public. All the above folders are forbidden. Smilie

Could you please comment on the above for loop request?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

403 Error in Apache?

I have installed Apache lots of times before. I have recently installed apache on FreeBSD. And it gives me all the time 403 Frobidden - you don't have permittion to access / directory. I have checked permitions. I've got -rwxrwxr-x for for all Apache DocumentRoot. I've checked Files directive in... (6 Replies)
Discussion started by: solvman
6 Replies

2. Linux

Apache Forbidden Error

When i go to my browser and type both localhost or the ip, i get Forbidden, you do not have permission to access / on this machine Whys that ? (1 Reply)
Discussion started by: perleo
1 Replies

3. UNIX for Dummies Questions & Answers

wget error

I'm trying to download / install mysql from the terminal. Here is what happens when I try to use wget: $ wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-server-community-5.1.35-0.rhel3.i386.rpm/from/ftp://mirror.anl.gov/pub/mysql/ --13:29:16-- ... (6 Replies)
Discussion started by: wsetchell
6 Replies

4. Web Development

403 Forbidden / show directories

I have a directory that I want to just list the items when going to the URL instead of having an index.html page in the folder. I keep getting a 403 forbidden even though it is in my document root. I tried to add: Alias /keys/ "/var/www/html/keys/" <Directory "/var/www/html/keys"> ... (6 Replies)
Discussion started by: ippy98
6 Replies

5. Shell Programming and Scripting

Wget-Forbidden error

Hi , I am using shell script to connect to a https site and download all the files in a directory. eg: wget --no-check-certificate -r -np --user=<username> --password=<passwd> -O temp.txt https:<website>/<dirname> Error : HTTP request sent, awaiting response... 403 Forbidden 07:40:20... (0 Replies)
Discussion started by: mohanpadamata
0 Replies

6. Web Development

Change internally 403 Error to 404 Error

I have the htaccess file within the folder in the domain I want to deny access to all users, execept one IP, after that redirects Error 403 resulting to a 404 error custom html page as shown below. # Restringting access! deny from all allow from 204.127.111.105 # Example of allowed IP... (1 Reply)
Discussion started by: cgkmal
1 Replies

7. UNIX for Dummies Questions & Answers

wget error

Hello I am getting the following error please help me out as why I am unable to get wget command right. oracle@host:/home/oracle>wget /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from wget Abort(coredump) Thanks (15 Replies)
Discussion started by: ronick11
15 Replies

8. Web Development

forbidden error when accessing file(s) on a unix filesystem

greetings, i was recently asked to install apache1.3.31 on an aix5.3 server so users could have access to their output files. these two directories are nfs filesystems served by a netapp filer mounted on the aix machine. i've made no changes to the apache config and it's running as it came out of... (0 Replies)
Discussion started by: crimso
0 Replies

9. UNIX for Dummies Questions & Answers

Script to if webpage is: forbidden, Error...

I have a file with about 29,000 website names. I would like to find a script that would test if each website name is current/active or not. If not it should check if the page is: Forbidden, 404 Error... (1 Reply)
Discussion started by: dcovnton
1 Replies

10. Web Development

Directory index forbidden by Options directive error on specific directory with indexing disabled

I am seeing the following error appear numerous times in my Apache error log: I have my Apache config configured as below, so I would expect indexing not to occur on this directory as it falls under the parent /web directory. Strangely all the IP address, including this example, all... (5 Replies)
Discussion started by: crmpicco
5 Replies
ns_return(3aolserver)					    AOLserver Built-In Commands 				     ns_return(3aolserver)

__________________________________________________________________________________________________________________________________________________

NAME
ns_connsendfp, ns_respond, ns_return, ns_returnadminnotice, ns_returnbadrequest, ns_returnerror, ns_returnfile, ns_returnforbidden, ns_returnfp, ns_returnnotfound, ns_returnnotice, ns_returnredirect, ns_returnunauthorized, ns_write - commands SYNOPSIS
ns_connsendfp fp len ns_respond ns_return status type string ns_returnadminnotice status msg ?longmsg? ns_returnbadrequest reason ns_returnerror status msg ns_returnfile status type filename ns_returnforbidden ns_returnfp status type fileid len ns_returnnotfound ns_returnnotice status msg ?longmsg? ns_returnredirect location ns_returnunauthorized ns_write string _________________________________________________________________ DESCRIPTION
These procedures provide a simple interface for returning information to the client. They build HTTP/1.0 headers and send the appropriate data out the socket to the client. The script does not end at the time ns_return* is invoked so you can continue processing data after the client has gotten the data and closed the socket. type should be a MIME type (see ns_guesstype manual page for a list). status is a three-digit number fitting the pattern below: 1xx Infor- mational - Not used, but reserved for future use. 2xx Success - The action was successfully received, understood, and accepted. 3xx Redi- rection - Further action must be taken in order to complete the request. 4xx Client Error - The request contains bad syntax or cannot be fulfilled. 5xx Server Error - The server failed to fulfill an apparently valid request. Some common status values and their meanings are: 201 Created 202 Accepted 203 Provisional Information 204 No Content 300 Multiple Choices 301 Moved Permanently 302 Moved Temporarily 303 Method 304 Not Modified 401 Unauthorized 402 Payment Required 403 Forbidden 404 Not Found 405 Method Not Allowed 406 None Acceptable 407 Proxy Authentication Required 408 Request Time-out 409 Conflict 410 Gone 501 Not Implemented 502 Bad Gateway 503 Service Unavailable 504 Gateway Time-out ns_connsendfp This function writes len bytes of the specified channel or file to the conn. ns_return Sends back both the headers and the string. ns_returnadminnotice Wraps the text msg and longmsg in some html, appends a line with a link to "mailto:serveradministrator" based on the virtual server parameter "WebMaster". ns_returnbadrequest Returns a 400 status code and a formatted HTML message containing the reason text. ns_returnerror Wraps the text msg in some html and returns that to the client. ns_returnfile Sends back the headers and the contents of the file. ns_returnforbidden Returns a 403 status code. ns_returnfp First sends the appropriate headers. Next, it writes out the contents of file from the current file position until the end of the file. ns_returnnotfound Returns a 404 status code. ns_returnnotice Wraps teh text msg and longmsg in some html and returns that to the client. ns_returnredirect Returns a redirect to the passed in location ns_returnunauthorized Returns a 401 status code ns_write Writes the string out the connection. You can use it instead of the ns_return or ns_respond functions to build HTTP responses. AOLserver will not include the usual headers on the output data. The script does not end at the time ns_write* is invoked so you can continue processing data after the client has gotten the data and closed the socket. SEE ALSO
ns_respond(n), ns_writefp(n) KEYWORDS
AOLserver 4.0 ns_return(3aolserver)
All times are GMT -4. The time now is 03:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy