Application & Virtual hosts in Apache

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Application & Virtual hosts in Apache
# 1  
Old 10-16-2007
Computer Application & Virtual hosts in Apache

I need help knowing how to add an application to existing Virtual host on Apache. here's the details:
I have a virtual host file (Based on IP address) for Apache and is configured to run application inside it. How can i add another application to the same virtual host based on the same IP address? below is my original virtual host file with one application:

<VirtualHost host_ip:80>
ServerAdmin admin
DocumentRoot /opt/document
ServerName server name:80
ServerAlias alias
ProxyRequests off

ErrorLog "|/PATH_TO_error_log 1M"
CustomLog "|/PATH_TO_access_log 1M" common

ErrorDocument 404 /index.html

<Proxy *>
Order deny,allow
Allow from all

Redirect permanent / http://server/app1

ProxyPass /app1 http://server:8080/app1
ProxyPassReverse /app1 http://server:8080/app1
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

apache httpd virtual hosts setup keep hitting the same VirtualHost

I'm trying to set up two virtual hosts. Here's my httpd config: <Directory /Users/userX/dev/sandbox-2> Order deny,allow deny from All Allow from localhost </Directory> NameVirtualHost <VirtualHost> DocumentRoot "/Users/userX/dev/sandbox-2" ... (0 Replies)
Discussion started by: GlideK
0 Replies

2. Red Hat

Virtual Host Apache

Hi, I have set up the following virtual host but it cannot find the URL? Apache is running fine and I have disabled iptables. Within the document root I have the following file index.html displaying a sample text message. Any ideas what my problem might be? httpd.conf: ... (2 Replies)
Discussion started by: Duffs22
2 Replies

3. Web Development

Apache Virtual URL

Hi All, i'am facing a problem with urls that don't have a filestructure under DocumentRoot. A URL like Should be rewritet to something else. Now i defined a Location like <Location ~... (3 Replies)
Discussion started by: wuschelz
3 Replies

4. UNIX for Dummies Questions & Answers

Maximum Number of Virtual Hosts per Apache instance

Is there a directive to limit the number of virtual hosts allowed per apache instance? I am told yes but I cannot find it. (1 Reply)
Discussion started by: mojoman
1 Replies

5. Programming

Apache & nfs status from c++ application

Hello guys, I have just started building a high-available site using ubuntu server 9.10. I am using moodle. The thing is that i want to write an application using curses, to show the status of the apache servers, mysql servers and the nfs server. I can check the mysql from the c api, but how can... (1 Reply)
Discussion started by: pegasus001
1 Replies

6. Linux

Problems with log rotate and virtual hosts

ok guys, Im running Centos 4.6 Final latest versions of apache, mysql etc etc Basically, I have several websites on there and one of them is a busy forum and it generates big log files in not that long of a timeperiod. I set it up about 8 months ago so that logrotate was rotating the logs... (7 Replies)
Discussion started by: anderow
7 Replies

7. UNIX for Advanced & Expert Users

Virtual Hosts and Alteon DNS conflicts

Hi, This is more of a verification rather than a question of technical nature. This is based on solaris 10 machine Could we use Virtual hosts (within our hosts file): virtual_host_name host_A (note: - host_A is also in our DNS server entry) And... (0 Replies)
Discussion started by: jackola
0 Replies

8. UNIX for Dummies Questions & Answers

hosts.allow & hosts.deny

Hi! Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is: hosts.allow ALL: (2 Replies)
Discussion started by: Sorrento
2 Replies

9. UNIX for Advanced & Expert Users

Apache 2 Virtual Hosts not resolving

Hey all, I'm having some apache problems. I've installed apache countless times on FreeBSD. However, I'm having some problems and I could use some help. Here is my system info: FreeBSD 5.2.1 Apache 2.0.51 (/usr/local/apache2), doc root (/www symlink to /var/www) PHP 5.0.1 (/usr/local/php)... (2 Replies)
Discussion started by: ezekiel61
2 Replies

10. UNIX for Dummies Questions & Answers

Apache virtual host

Would this be the correct entry for Apache to answer on the IP if the servers IP is Are any other changes necessary to get Apache to answer this IP for web traffic? < VirtualHost> ServerName ServerAdmin (4 Replies)
Discussion started by: 98_1LE
4 Replies
Login or Register to Ask a Question
Apache::Session::Generate::ModUsertrack(3pm)		User Contributed Perl Documentation	      Apache::Session::Generate::ModUsertrack(3pm)

Apache::Session::Generate::ModUsertrack - mod_usertrack for session ID generation SYNOPSIS
use Apache::Session::Flex; tie %session, 'Apache::Session::Flex', $id, { Store => 'MySQL', Lock => 'Null', Generate => 'ModUsertrack', Serialize => 'Storable', ModUsertrackCookieName => 'usertrack', # optional }; DESCRIPTION
Apache::Session::Generate::ModUsertrack enables you to use cookie tracked by mod_usertrack as session id for Apache::Session framework. This module fits well with long-term sessions, so better using RDBMS like MySQL for its storage. CONFIGURATION
This module accepts one extra configuration option. ModUsertrackCookieName Specifies cookie name used in mod_usertrack. "Apache" for default, so change this if you change it via "CookieName" directive in mod_usertrack. LIMITATION WITHOUT MOD_PERL This module first tries to fetch named cookie, but will in vain ONLY WHEN the HTTP request is the first one from specific client to the mod_usertrack enabled Apache web server. It is because if the request is for the first time, cookies are not yet baked on clients. If you run scripts under mod_perl, this module tries to steal (not yet baked) cookie from Apache request notes. See Apache for details. AUTHOR
Tatsuhiko Miyagawa <> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Apache::Session, Apache::Session::Flex, mod_usertrack perl v5.10.1 2010-10-18 Apache::Session::Generate::ModUsertrack(3pm)