The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-05-2007
moe2266 moe2266 is offline
Registered User
 

Join Date: Nov 2004
Location: USA
Posts: 92
Unhappy Apache Virtual host question

Folks;
I have a virtual host file & i have it configured to run an application i have & it runs it fine.
Now i need to attach another application to the same Virtual host file. How can i do that?
here's my existing Virtual host file (actual names replaced with aliases below):

<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
</Proxy>

Redirect permanent / http://server/app1

ProxyPass /app1 http://server:8080/app1
ProxyPassReverse /app1 http://server:8080/app1
</VirtualHost>

Last edited by moe2266; 09-05-2007 at 12:23 PM..
Reply With Quote
Remove advertisements
!!
!! Forum Sponsor