06-15-2009
Unable to access http site using wget through proxy
Hi there
I am currently trying to access an http site using the wget utility from a solaris box. I am going through proxies to do this and we have two types of proxies.
For the first one, which is a netcache proxy, I am able to use the wget command to export the proxy information
export http_proxy="http://username
assword@proxy
ort"
and then I am able to access the site using the following-
/usr/sfw/bin/wget
Google
The above works fine.
However when I try to use a different type of proxy called ironport proxy, performing the above steps does not work.
I get an error message saying no route was found to the host.
It looks like the ironport proxy does not understand wget or wget needs to send something specific for the ironport proxy to let it through to access the site.
Does anyone know anything about how these are different and what we can do to make the ironport proxy work with wget.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there, probably a really simple question but i want to download all .rpm files from a web repository which happens to be http and not ftp
Ive tried using wget, but as far as i can see it doesnt allow for wilcards (ie wget http://address/*.rpm)
does anybody know i can get all these files in... (2 Replies)
Discussion started by: hcclnoodles
2 Replies
2. IP Networking
Setup a site to site VPN between two cisco routers.
One of the site locations is unable to access ports such as https://example.com:9001
How do I let them go into port 9001?
They can ssh, ftp, telnet and everything else.
Is this a VPN issue or ACL access issue?
I put
permit ip host... (0 Replies)
Discussion started by: photon
0 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
Im trying to make an http get request to a web service from a linux machine like below and i get ERROR 500
wget http://10.1.21.236:8585/pns.asmx/Sen...&msgBody=werty
25018
$ --19:06:32-- http://10.1.21.236:8585/pns.asmx/Sen...erName=serverA
Connecting to 10.1.21.236:8585...... (1 Reply)
Discussion started by: elthox
1 Replies
4. Shell Programming and Scripting
I need a proxy that would enable me to use cli curl/wget with another ip address.
How do I find a paid proxy server that supports curl/wget? (1 Reply)
Discussion started by: locoroco
1 Replies
5. Shell Programming and Scripting
I'm using a proxy service with an ip address and a port number.
How do I use the proxy with wget or cli curl? (1 Reply)
Discussion started by: locoroco
1 Replies
6. Programming
I’m using the below snipped for setting the certificate and key for client authentication.
curl_easy_setopt(curl,CURLOPT_SSLCERT,"clientCert.pem");
curl_easy_setopt(curl,CURLOPT_SSLCERTPASSWD,"changeit");
curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM"); ... (2 Replies)
Discussion started by: old_as_a_fossil
2 Replies
7. Shell Programming and Scripting
Hi,
My script needs to crawl the data from a third party site. Currently it is written in wget. The third party site is of shared interface with different IP addresses.
My wget works with all the IP address but not with one. Whereas the curl is able to hit that IP address and comes out... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
8. Web Development
I am having a hard time with this one. We have a websocket server listening on port 80 at myserver.com/wsDemo?ID=12. We need to test a client program by connecting it to this server through a proxy. I am trying nginx 1.2.7 as the proxy on port 8080, running on proxy-server. We want the client to... (1 Reply)
Discussion started by: glev2005
1 Replies
9. AIX
Hi,
I am trying to configure an HTTP_PROXY so that suma can reach out beyond our intranet and pull updates from the IBM website. Currently, our suma config is the default as it's not been used before. When I attempt to issue the following command sudo suma... (7 Replies)
Discussion started by: JAR1
7 Replies
10. Shell Programming and Scripting
Hi,
I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.
Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
LEARN ABOUT DEBIAN
calendarserver_manage_principals
CALENDARSERVER_MANAGE_PRINCIPALS(8) BSD System Manager's Manual CALENDARSERVER_MANAGE_PRINCIPALS(8)
NAME
calendarserver_manage_principals -- Darwin Calendar Server principal management utility
SYNOPSIS
calendarserver_manage_principals [--config file] [--verbose] [--read-property property] [--list-principal-types] [--list-principals type]
[--search search-string] [--list-read-proxies] [--list-write-proxies] [--list-proxies]
[--add-read-proxy principal] [--add-write-proxy principal] [--remove-proxy principal]
[--set-auto-schedule true|false] [--get-auto-schedule] [--add locations|resources full-name
[record-name] [GUID]] [--remove] principal [principal ...]
DESCRIPTION
calendarserver_manage_principals is a tool for accessing and manipulating information regarding principals on a Darwin Calendar Server.
Principals represent any form of actor that can access the server, such as users, groups, locations and resources.
calendarserver_manage_principals should be run as a user with the same priviledges as the Calendar Server itself, as it needs to read and
write data that belongs to the server. calendarserver_manage_principals takes a list of principals as arguments and then performs the
requested actions on each of the given principals.
A principal may be specified as the principal's GUID. Alternatively, it may be specified in the form recordType:shortName, where recordType
is a directory record type (eg. users, groups, locations, resources) and shortName is the principal's short name.
Actions to perform are specified via the options below. Multiple actions may be given, and will be performed in the order given on each
principal specified.
OPTIONS
-h, --help
Displays usage information
-v, --verbose
Displays debugging information
-f, --config FILE
Use the Calendar Server configuration specified in the given file. Defaults to /etc/caldavd/caldavd.plist.
ACTIONS
--read-property property
Read the given WebDAV property on the principal resource. property must be a fully qualified XML element name in the form
{namespace}name, for example: {DAV:}displayname.
--list-principal-types
List all of the known principals types.
--list-principals type
List all of the principals of the given type.
--search search-string
Search for principals whose name or email address contains the search string.
--list-read-proxies
List the read proxies.
--list-write-proxies
List the write proxies.
--list-proxies
List all proxies.
--add-read-proxy principal
Add the given principal as a read proxy.
--add-write-proxy principal
Add the given principal as a write proxy.
--remove-proxy principal
Remove the given principal as a proxy.
--set-auto-schedule true|false
Enable or disable automatic scheduling.
--get-auto-schedule
Get the automatic scheduling state.
--add locations|resources full-name [record-name] [GUID]
Add a new location or resource. Record name and GUID are optional. If GUID is not specified, one will be generated. If record name is
not specified, the record name will be set to the GUID.
EXAMPLES
Add Alice and Bob as read proxies for Joe and display the list of Joe's proxies:
calendarserver_manage_principals --add-read-proxy users:alice --add-read-proxy users:bob --list-proxies users:joe
Add a group of room admins as write proxy for a couple of rooms:
calendarserver_manage_principals --add-write-proxy groups:room-admins locations:bigroom locations:littleroom
Turn on auto-scheduling for a resource, and confirm the setting:
calendarserver_manage_principals --set-auto-schedule true --get-auto-schedule resources:projector
Search for all principals named Joe:
calendarserver_manage_principals --search joe
Add a location:
calendarserver_manage_principals --add locations 'Example Office' office1
Add a resource:
calendarserver_manage_principals --add resources 'Example Projector' proj1
List all resource:
calendarserver_manage_principals --list-principals resources
Remove a resource:
calendarserver_manage_principals --remove resources:proj1
FILES
/etc/caldavd/caldavd.plist
The Calendar Server configuration file.
SEE ALSO
caldavd(8)
BSD
June 17, 2009 BSD