Solved

Poinitng the same page through different address

Posted on 2000-03-01
5
136 Views
Last Modified: 2010-03-05
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
  • 2
5 Comments
 
LVL 3

Expert Comment

by:guadalupe
Comment Utility
Can't the user make a bookmark....?
0
 

Author Comment

by:mon1
Comment Utility
Whether is it possible in apache. if so what changes i have to make...
0
 
LVL 3

Expert Comment

by:guadalupe
Comment Utility
Well actually I was thinking of a user making a bookmark...  If not what do you propose...?  You want a quick link to where the user was...right?

What about leaving a cookie that conmtains the section name and a perl script that picks up the cookie and parses it into a link that is inserted onto the page...?
0
 
LVL 3

Accepted Solution

by:
jyu_88 earned 10 total points
Comment Utility
You can just use the Alias directive
Alias /area "/APACHE/HOME/state/district/area"

It will work. However, apache.org acknowleged the possibilty of broken relative links in the aliased page. I used on my server, tolerated a few broken relateive-pathed icon. If you use absolute path like "/icon/good.jpg" then you should be fine.
0
 

Author Comment

by:mon1
Comment Utility
Hi iyu88
   That is what is i am searching ...
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

728 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

9 Experts available now in Live!

Get 1:1 Help Now