Solved

Poinitng the same page through different address

Posted on 2000-03-01
5
148 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
ID: 2572478
Can't the user make a bookmark....?
0
 

Author Comment

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

Expert Comment

by:guadalupe
ID: 2572675
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
ID: 2574270
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
ID: 2575336
Hi iyu88
   That is what is i am searching ...
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
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…

740 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