Connecting Tech Pros Worldwide Forums | Help | Site Map

To create virtual Directories

Newbie
 
Join Date: Jan 2007
Posts: 1
#1: Jan 19 '07
Can u tell me how to create Virtual directlories like pub,cgi-bin in Apache-Tomcat 4.1.34 web server....

Bhargavi

sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#2: Jan 21 '07

re: To create virtual Directories


Quote:

Originally Posted by bhargavik

Can u tell me how to create Virtual directlories like pub,cgi-bin in Apache-Tomcat 4.1.34 web server....

Bhargavi

Hi there,

Kindly refer to below attached links, hope it helps. Good luck & Take care.

http://tomcat.apache.org/connectors-.../iishowto.html
http://www.moreservlets.com/Using-Tomcat-4.html
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#3: Jan 24 '07

re: To create virtual Directories


Quote:

Originally Posted by bhargavik

Can u tell me how to create Virtual directlories like pub,cgi-bin in Apache-Tomcat 4.1.34 web server....

Bhargavi

You will need to modify your httpd.conf to create aliases:
Expand|Select|Wrap|Line Numbers
  1. Alias /pub/ /var/ftp/pub/
  2.  
or

Expand|Select|Wrap|Line Numbers
  1. Alias /icons/ "c:/wamp/Apache2/icons/" 
  2.  
Usually, the httpd.conf file contains documentation for all of the directives, but if not, you may always use Apache.org as a reference.
Reply