01-07-2008
Your discription of what you want is not really very clear, but from what I understand of it.
Create N virtual hosts in Apache, each running on a specific ipaddress. Use mod_proxy + mod_rewrite with [P] directives on each to give you the dynamic proxying. Configure mod_proxy and mod_rewrite to proxy the primary webpage to the secondary proxy on the virtual hosts, via a base directory for each one.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am calling a Perl script that uses Net::FTP; from Oracle's Concurrent Request Manager and it fails becuase Oracle's version of Perl doesn't include the NET::FTP library's. The AIX box the script runs on has Perl installed with the needed library's, does anyone know how I can force my script to... (1 Reply)
Discussion started by: methos
1 Replies
2. Solaris
Hi all,
I would like to force the LAN card to use 10MB instead of 100MB in UNIX enviroment, please help. thanks! :) (3 Replies)
Discussion started by: Felixkoo
3 Replies
3. IP Networking
My company has a private network, including a Apache web server (Linux) and some WinXP machines. The web server had been configured to use mod_proxy to connect to window update site via another company proxy server. It works for few years.
Recently, some parties had setup a DNS server on the... (2 Replies)
Discussion started by: donaldfung
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
I'm trying find out if there is a way to stop a brute force attack on a Webmail site. I'm trying to setup a webmail access, but I would like to prevent too many invalid logins from the same IP.
I've looked into Snort, but I was wondering if there was an application level firewall that can... (1 Reply)
Discussion started by: nitin
1 Replies
5. UNIX and Linux Applications
I am using Apache 2.2.3 on RHEL5 and having problems to get mod_deflate work with mod_proxy. mod_deflate will compress files by mime-type just fine as long as those files are served statically from the local server. However, files served via dynamic php application (ie, MediaWiki) or via... (2 Replies)
Discussion started by: otheus
2 Replies
6. Solaris
Hi all,
I encounter some problem with my e1000g interface running on sol 10. I can't permanently change the auto-nego to disable, if i use ndd commands, it will only stay until the next reboot.
But i can't change the link speed either is set to /etc/init.d/nddconfig or using ndd commands.
... (1 Reply)
Discussion started by: mailbox80
1 Replies
7. Solaris
Hi Guys,
can two interfaces on a server have two different ip addresses?
Thanks (6 Replies)
Discussion started by: cjashu
6 Replies
8. Web Development
I have the following setup in my apache vhost:
ProxyPass /abc http://www.newest.com/
ProxyPassReverse /abc http://www.newest.com/
I want to setup a failover approach in which if after a particular timeout say 10secs the load shifts to some other website like Refer.com | The world. The timeout... (0 Replies)
Discussion started by: ankur328
0 Replies
9. IP Networking
Hi.
Can you please help me with a routing problem?
There are 2 networks:
192.168.10.0/24 (eth0)
192.168.11.0/24 (eth0:1)
The default gateway is 192.168.10.1
iPv4 routing is already enabled and working.
With vpnc I've built up an VPN connection and can access my home network... (0 Replies)
Discussion started by: tschmi
0 Replies
10. Web Development
Hi..
I have very limited knowledge on LDAP and its configuration and but I have been trying to figure out one issue that takes place when I am running the program that is written in php, but so far its unsuccessful.
The server, I am working on is ldap server, which is running on Apache. After... (1 Reply)
Discussion started by: GomathiUoM
1 Replies
LEARN ABOUT PHP
ftpaddhost
ftpaddhost(1M) System Administration Commands ftpaddhost(1M)
NAME
ftpaddhost - set up a virtual FTP host
SYNOPSIS
ftpaddhost -c | -l [-b] [-x xferlog] hostname root_dir
DESCRIPTION
The ftpaddhost script is executed by the super user to set up virtual FTP hosts. The ftpaddhost command configures the virtual host host-
name under directory root_dir. The value of hostname can be an IP address or the name of a host.
OPTIONS
The ftpaddhost script supports the following options:
-b Create a banner for the virtual host. This option is useful to confirm that the virtual host is working.
-c Configure complete virtual hosting. This option allows each virtual host to have its own version of the ftpaccess,
ftpconversions, ftpgroups, ftphosts, and ftpusers files. The master version of each of these configuration files is
copied from the /etc/ftpd directory and placed in the /etc/ftpd/virtual-ftpd/hostname directory. If the
/etc/ftpusers file exists it is appended to the virtual ftpusers file. If a virtual host lacks its own version of a
configuration file, the master version is used.
-l Configure limited virtual hosting. This option allows a small number of parameters to be configured differently
for a virtual host. See the virtual keyword on the ftpaccess(4) manual page.
-x xferlog Create a logfile entry such that the transfer logs for the virtual host are written to the specified file. An abso-
lute path must be specified for the xferlog file.
OPERANDS
The following operands are supported:
hostname The host name or IP address of the virtual server.
root_dir The absolute pathname of the directory under which the virtual server is set up.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 Improper usage of the command
2 Command failed
FILES
/etc/ftpd/virtual-ftpd/hostname The configuration files directory for the virtual host hostname.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ftpconfig(1M), in.ftpd(1M), ftpaccess(4), ftpconversions(4), ftpgroups(4), ftphosts(4), ftpusers(4), xferlog(4), attributes(5)
SunOS 5.10 1 May 2003 ftpaddhost(1M)