Hi,
I did this:
ln -s index.html tester.html
and it worked fine. Note that the new page/symbolic-link is 2nd, the
original file name is first in the sequence.
Hadn't thought of using a symbolic link, thanks Urb. And thanks to others
for the .htaccess details. By the way, on my BSD Unix system the man for ln
doesn't show a -n option. ?
Jack
> Urb,
> Would ln -sn newpage.html oldpage.html work better? I though
> otherwise if file2 existed it would be overwritten with file1
> without the -n.
>
> Ron
>
> At 04:12 PM 7/27/98 -0400, Urb LeJeune wrote:
> >> Anyone know how to setup the config files on an Apache server so that
> >> requests for a particular page automatically load a different
> page? I've
> >
> >> Some config line like:
> >>
> >> /oldpage.html newpage.html
> >>
> >> will probably suffice, but I'm not sure where to add it.
> >>
> > Although it can be done with a record in .htaccess I suspect
> it's more
> >effecient using a symbolic link (assuming unix) since the entire
> >.htaccess file has to be read each time.
> >
> > From the command line.
> >
> >ln -s newpage.html oldpage.html
> >
> >Urb
> >____________________________________________________________________
> >--------------------------------------------------------------------
> > Join The Web Consultants Association : Register on our web site Now
> >Web Consultants Web Site : http://just4u.com/webconsultants
> >If you lose the instructions All subscription/unsubscribing can be done
> >directly from our website for all our lists.
> >---------------------------------------------------------------------
> >
>
> ____________________________________________________________________
> --------------------------------------------------------------------
> Join The Web Consultants Association : Register on our web site Now
> Web Consultants Web Site : http://just4u.com/webconsultants
> If you lose the instructions All subscription/unsubscribing can be done
> directly from our website for all our lists.
> ---------------------------------------------------------------------
>
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------