My server also only has f s. But for grins I looked in a unix manual
I have and it has n, in addition to the previou two.
-n Does not overwrite existing files.
goes on to say, in ther first form, link file1 to file2, where file2
is usually a new name. If file2 is an existing file it is overwritten.
UNIX in a Nutshell - System V & Solaris 2.0
Seems to me it would depend on the flavor if you were safe or not I
guess. Looking at the manuals I'd say it was removed from BSDi, well never
really included. I don't think the original use was for "redirects".
Ron
At 02:13 PM 7/27/98 -0700, Jack Killpatrick wrote:
>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.
>---------------------------------------------------------------------
>
____________________________________________________________________
--------------------------------------------------------------------
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.
---------------------------------------------------------------------