Sponsored Content
Top Forums Shell Programming and Scripting Redirect all browser traffic to website x Post 302750291 by runtimeError on Monday 31st of December 2012 11:17:00 AM
Old 12-31-2012
well, the point is I am want to wrap the script with an app wrapper for OSX. That's basically the reason for using a shell script. I haven't yet looked into what else language it can wrap to make an app for me.

oh, isn't there a way to write it in a .conf file, something like:

127.0.0.1 www-random website x .com


btw thank you for your reply. Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Traffic Shaping

I'm using FreeBSD because I like how easy the system can be set up, how software can be installed/removed and ... many other reasons:-) But there is a thing I don't know how to deal with: I have few connections behind a machine and I want to give to the machines behind a minimum guaranteed... (2 Replies)
Discussion started by: eNTer
2 Replies

2. Programming

Redirect Browser

Hello guys, Is it possible to redirect browser to another socket address? Cheers, Elton (1 Reply)
Discussion started by: EltonSky
1 Replies

3. HP-UX

NIC traffic

hi, there, are there any ways to monitor the NIC traffic on HP-UX, tools or system call? thanks. (2 Replies)
Discussion started by: Frank2004
2 Replies

4. Solaris

ssh traffic

i have 3 servers running at home. i always connect to these servers from a windows box via ssh. recently i was snooping my interface on my database server and saw a lot of ssh traffic. this is a few lines of the snoop: deathstar -> xstar TCP D=22 S=3190 Ack=662538517 Seq=1676539194... (2 Replies)
Discussion started by: pupp
2 Replies

5. UNIX for Dummies Questions & Answers

multiple website traffic analyzer

Hello everybody, I'm hosting several websites on the same server using apache virtual hosting: ~$ tail /etc/apache2/sites-available/default <VirtualHost *> ServerName website1.mydomain.com DocumentRoot /var/www/website1 </VirtualHost> <VirtualHost *> ServerName... (5 Replies)
Discussion started by: chebarbudo
5 Replies

6. Infrastructure Monitoring

Network Traffic

Hi all, Got a strange one here, well not so much strange, different :-) I need to work out if a server is particulary chatty, whether its talking / communicating heavily to a particular server, as Im planning to physically move the server to a different server, over a link. Hence the... (6 Replies)
Discussion started by: sbk1972
6 Replies

7. Linux

IP Traffic forwarding

Hello All I have the following setup of a network. Client machines sends requests to the server which is (192.168.1.50) running on Ubuntu server 8.04. And this server forwards all incoming traffic from clients to another server (192.168.1.100) when it's available. The availability is checked... (0 Replies)
Discussion started by: Anuradhai4i
0 Replies

8. UNIX for Advanced & Expert Users

redirect http traffic

hi, i have freebsd gateway with ipfw as router. Recently i have setup squid-3.1.10 caching server for my lan. I want to redirect http,https traffic from gateway to linux squid box. below is my setup rl0--->xxx.xxx.xxx.xxx (connected to ISP) rl1 -->192.168.1.0/24 (my lan)... (1 Reply)
Discussion started by: goog
1 Replies

9. Cybersecurity

DNS traffic

Hi All, I have just started learning Lunix; I hope you can help me to block unwanted DNS traffic. I have big spikes of traffic few times a day. The duration is from few minutes to two hours. Incoming traffic is 1 mbps, outgoing is 3mbps Using my friend's script I was able to get some... (1 Reply)
Discussion started by: OlegE
1 Replies
pdweb(1M)																 pdweb(1M)

NAME
pdweb - start the HP-UX Peripheral Device tool, part of the System Management Homepage Web interface. SYNOPSIS
Path: DESCRIPTION
The HP-UX Peripheral Device tool (pdweb) can be used to easily and quickly view I/O devices and OLRAD cards. It helps manage hot pluggable PCI slots on systems that support adding and replacing cards without rebooting. On all HP-UX systems, will display the I/O devices and can be used to (re)create device files for a selected device. The HP-UX Peripheral Device tool user interface uses a Web browser. Executing the command, with DISPLAY variable set and without any options performs the following tasks: o start the System Management Homepage Web server and o start a Web client (browser) An attempt will be made to connect to the browser specified with the BROWSER environment variable, or Mozilla, or Netscape. The Web browser will be displayed on the X server defined by the DISPLAY environment variable. If a running browser is found, it will be used, otherwise a new session will be initiated. This will only happen if the browser process is running on the same system used to exectue the pdweb command (defined by the DISPLAY variable), unless the option is used. Options The recognizes the following options: Opens the terminal interface for Cards and Devices regardless of the current setting of the DISPLAY environment variable. Forces a client browser to be used in less secure ways. Two security features are overridden by the option. The option forces the client browser to be used or started, even if the X-traffic between the X-server and the Mozilla browser is not secure. When is invoked by the option is used. Only a priviledged user (root) can execute When used with the option, a temporary login bypass key will be generated. The bypass key allows the user to access the Web interface without having to provide login information again. Only use this option if you are sure the network traffic is secure between the host where Mozilla is running, and the host in the DISPLAY variable. The browser uses URL http://hostname:2301/ and you may paste this into any browser if a browser does open with the pdweb command. Online Help Once the HP-UX Peripheral Device tool is started, the online help provides details on how to use the tool. RETURN VALUES
Upon completion, returns one of the following values: Successful. An error occurred. AUTHORS
pdweb was developed by Hewlett-Packard SEE ALSO
hpsmh(1M), smhstartconfig(1M), olrad(1M), ioscan(1M), insf(1M) pdweb(1M)
All times are GMT -4. The time now is 04:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy