Solved

Poinitng the same page through different address

Posted on 2000-03-01
5
151 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
Six Sigma Control Plans

724 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