Curl detection of redirect


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Curl detection of redirect
# 1  
Old 02-24-2017
Curl detection of redirect

This URL:

Internet Archive Wayback Machine

..will redirect to this URL when using a browser:

https://web.archive.org/web/20140110...desformat=html

But when accessing the first URL with curl (or wget) there is no information about the redirect and it ends up a 404. Can the redirect information be obtained somewhere or somehow from the command line such as with curl or wget? I've looked at the headers and HTML body with no luck and can't figure out where the browser obtains the redirect URL from.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Curl/wget shell script to follow redirect.

Hello eveyone. I would like to create a simple batch with curl (or wget) to download a URL but the URL I can only download from the browser and not from shell because curl and wget won't follow the 301 redirect which I get :confused: I tried with curl -L but no luck. I want to hear your opinion.... (5 Replies)
Discussion started by: accolito
5 Replies

2. Programming

Parallel Processing Detection and Program Return Value Detection

Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
Discussion started by: azar.zorn
4 Replies

3. Shell Programming and Scripting

Download using curl and redirect question_please help

Basically I am needing to Download (using curl) in the background some data from(link here), with stderr redirected to /dev/null, to a file named taxcode I was doing this, curl & http:// name here/download/pls/Title_26.txt 2> /dev/null > taxcode but the results were not what I was after. ... (1 Reply)
Discussion started by: santod
1 Replies

4. AIX

NFS mount detection

Hi, I have a handy script in Linux, part of which checks for the presence of nfs mounts, using the information in /proc/mounts. Is there a suitable command or file in AIX that could be used in a similar way? Many thanks in advance (1 Reply)
Discussion started by: SDG
1 Replies

5. Shell Programming and Scripting

NAT detection

hellou, can anybody help me with nat detection in real time ? i prefer some detection script because i try some nat detection program's for example p0f or i'm using tcpdump, but i would get contain of specific packet. Some ideas? (1 Reply)
Discussion started by: TheTechnic
1 Replies

6. Shell Programming and Scripting

key detection in a script

Heloo every one I want to write a script that detects a key press and mouse click and movement,but I dont know how. The second one is I want to run myscript without writing the shell ie not "sh script.sh" but "script.sh" Can you help me out of here? Thanks in advance. (9 Replies)
Discussion started by: enoch99
9 Replies

7. UNIX for Advanced & Expert Users

boot up detection for linux

Hello, I was wondering is there a specific process I could look for to tell if my suse linux machine is still booting up. I have a monitor process and it's detecting problems with processes because I think the machine is still booting up and has yet to start everything up. Thanks for any help. (2 Replies)
Discussion started by: benefactr
2 Replies

8. IP Networking

modem detection

How to get information that where is my modem configured in /dev. I have two modems configured in my device .. one is USB and other is PCI modem.. USB is detected as /dev/USB0. but how to see about PCI modem? (0 Replies)
Discussion started by: s123.radha
0 Replies

9. UNIX for Dummies Questions & Answers

virus detection

IS there virus software for unix? I worked in a Solaris environment and dont remember having anything. I also ask because the current enviroment i am working on is Microsoft and they argue that they do not use unix because of virus detection. Any input would be greatly appreciated. (1 Reply)
Discussion started by: pbonilla
1 Replies
Login or Register to Ask a Question
hpsmh(1M)																 hpsmh(1M)

NAME
hpsmh - starts or stops the HP System Management Homepage server SYNOPSIS
DESCRIPTION
The HP System Management Homepage is the management server for web-based System Administration tools. In order to use HPSMH, start a web browser on your desktop or workstation, and type in the URL or Address of the server to be managed: By default, the HP SMH management server under HP-UX only starts on demand. It does not run continually. A daemon listens on port 2301 to start an instance of the management server. The above URL automatically starts the management server, then redirects your browser to the secure port from which to login: The command starts or stops the HPSMH server. If no options are specified, displays the possible options. Options The command supports the followings options: Starts the HPSMH Server if is not currently running Stops the HPSMH Server Access Control By default, only the root user can login to HPSMH. Within HPSMH you can configure additional user groups to have HPSMH access. You must be a superuser to run the command. Certificates Installing HPSMH will generate an SSL self signed certificate. Because this certificate is self signed, when connecting to HPSMH your web browser will prompt you with a warning that the certificate was issued by a web site, company or Certificate Authority you have not chosen to trust. It is possible to proceed by accepting this self signed certificate temporarily for each session. You can also view and install (accept permanently) this certificate to avoid this warning in the future. HPSMH also supports installation of certificates created by a Certifi- cate Authority. RETURN VALUES
The command returns: upon successful completion if the command failed EXAMPLES
Starts HPSMH Server: Stops HPSMH Server: Shows options: Using HPSMH, start a browser and enter the following URL: AUTHORS
was developed by Hewlett-Packard SEE ALSO
smhstartconfig(1M). hpsmh(1M)