Solved

Poiting the same page using two adrees..

Posted on 2000-03-01
2
207 Views
Last Modified: 2013-12-23
Hi friends...
I am working with Unixware 2.0.1 Apache 1.3.1, PERL.
i have a major web site in my web server.
eg : hierarchy level is
main page --> state--> district--> Area
Once a user visited the perticular Area , in the location the web address as http://maindomain.com/state/district/area.
If he wants to vissit the Area page in next time, he wants to go through the step by step links.. also it is very difficult to remember the  perticular page address. So what i want is i want to give a short cut to this area as
http://maindomain.com/area.  
ie . next time onwards he can directly use this address to reach this area.
for this what configurations i have to do in my apache web server.
whether is it is possible in apache.

i want to give show both them are same pages.
0
Comment
Question by:mon1
2 Comments
 
LVL 15

Accepted Solution

by:
samri earned 10 total points
Comment Utility
mon1,

  If you are running Apache 1.3.x, edit the file httpd.conf, and add the following

Alias  /area      "path to the area directory"

if "area" is located in /usr/local/apachec/htdocs/states/area then the entry will be

Alias /area "/usr/local/apache/htdocs/states/area"  

and remember to restart the server once you edited the file.

either kill -HUP <pid-of-apache>  or
/usr/local/apache/bin/apachectl restart


good luck.  

samri
0
 

Author Comment

by:mon1
Comment Utility
that is working fine...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now