Bug 145268

Summary: Russian FreeBSD 7.3 production release web page page not found 404 error code
Product: Documentation Reporter: Марат <safarnyazov>
Component: Books & ArticlesAssignee: Maxim Konovalov <maxim>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Марат 2010-04-01 17:40:08 UTC
From  russian version FreeBSD index web page  http://www.freebsd.org/ru/ 


FreeBSD 7.3 production release web page page not found 404 error code


http://www.freebsd.org/ru/releases/7.3R/announce.html

404 - Not Found

How-To-Repeat: 1. open http://www.freebsd.org/ru/ 
2. go to (óÔÁÒÙÊ) ðÒÏÄÕËÔÉ×ÎÙÊ ÒÅÌÉÚ 7.3 
   http://www.freebsd.org/ru/releases/7.3R/announce.html
Comment 1 Johann Kois freebsd_committer freebsd_triage 2010-07-05 09:50:58 UTC
Responsible Changed
From-To: freebsd-www->maxim

Change responsibility.  To fix this PR we need someone who can speak/write Russian. 

So push this PR over to one guy of the Russian FreeBSD Documentation Project.
Comment 2 Maxim Konovalov freebsd_committer freebsd_triage 2010-07-05 10:12:04 UTC
State Changed
From-To: open->closed

Fixed.  Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-07-05 10:12:40 UTC
maxim       2010-07-05 09:11:54 UTC

  FreeBSD doc repository

  Modified files:
    ru                   index.xsl 
  Log:
  o Fix a link to 7.3R announcement.
  
  PR:             www/145268
  
  Revision  Changes    Path
  1.38      +2 -2      www/ru/index.xsl
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 pluknet 2010-07-06 14:40:55 UTC
I think the cleaner way is to fix the reason: a path difference b/w
u.rel.* and u.rel2.* macros.

<!ENTITY u.rel.announce '&enbase;/releases/&rel.current;R/announce.html'>
<!ENTITY u.rel2.announce '&base;/releases/&rel2.current;R/announce.html'>

u.rel and urel2 difference produces a different path and hence 404 error
despite of equal paths in its consumer e.g. ru/index.xsl.
You'll notice that this diff causes links for u.rel2 (FreeBSD 7.3)
 to be broken on Russian Release and Newbies pages as well (fixed with
my patch).

This reverts index.xsl where it was before the "www cleanup mega commit".
(see http://lists.freebsd.org/pipermail/cvs-doc/2006-August/013863.html )

%%%
--- /usr/www/ru/share/sgml/l10n.ent     2006-08-20 01:25:55.000000000 +0400
+++ /usr/www.new/ru/share/sgml/l10n.ent 2010-07-06 17:14:28.000000000 +0400
@@ -30,12 +30,12 @@
 <!ENTITY rel2.current.date '=ED=C1=CA 2006'>

 <!-- URLs to information on the latest release -->
-<!ENTITY u.rel2.notes '&base;/releases/&rel2.current;R/relnotes.html'>
-<!ENTITY u.rel2.announce '&base;/releases/&rel2.current;R/announce.html'>
-<!ENTITY u.rel2.errata '&base;/releases/&rel2.current;R/errata.html'>
-<!ENTITY u.rel2.hardware '&base;/releases/&rel2.current;R/hardware.html'>
-<!ENTITY u.rel2.installation
'&base;/releases/&rel2.current;R/installation.html'>
-<!ENTITY u.rel2.readme '&base;/releases/&rel2.current;R/readme.html'>
+<!ENTITY u.rel2.notes '&enbase;/releases/&rel2.current;R/relnotes.html'>
+<!ENTITY u.rel2.announce '&enbase;/releases/&rel2.current;R/announce.html'=
>
+<!ENTITY u.rel2.errata '&enbase;/releases/&rel2.current;R/errata.html'>
+<!ENTITY u.rel2.hardware '&enbase;/releases/&rel2.current;R/hardware.html'=
>
+<!ENTITY u.rel2.installation
'&enbase;/releases/&rel2.current;R/installation.html'>
+<!ENTITY u.rel2.readme '&enbase;/releases/&rel2.current;R/readme.html'>

 <!--
      Local Variables:
--- /usr/www/ru/index.xsl       2010-07-05 13:11:54.000000000 +0400
+++ /usr/www.new/ru/index.xsl   2010-07-06 17:14:30.000000000 +0400
@@ -116,10 +116,10 @@
                                  <h2><a
href=3D"&base;/releases/">=F0=EF=F3=EC=E5=E4=EE=E9=E5 =F2=E5=EC=E9=FA=F9</a=
></h2>
                                  <ul id=3D"FRONTRELEASESLIST">
                                        <li>
-                                         <a
href=3D"../&u.rel.announce;">=F0=D2=CF=C4=D5=CB=D4=C9=D7=CE=D9=CA =D2=C5=CC=
=C9=DA &rel.current;</a>
+                                         <a
href=3D"&u.rel.announce;">=F0=D2=CF=C4=D5=CB=D4=C9=D7=CE=D9=CA =D2=C5=CC=C9=
=DA &rel.current;</a>
                                        </li>
                                        <li>
-                                           <a
href=3D"../&u.rel2.announce;">(=F3=D4=C1=D2=D9=CA) =F0=D2=CF=C4=D5=CB=D4=C9=
=D7=CE=D9=CA =D2=C5=CC=C9=DA
&rel2.current;</a>
+                                           <a
href=3D"&u.rel2.announce;">(=F3=D4=C1=D2=D9=CA) =F0=D2=CF=C4=D5=CB=D4=C9=D7=
=CE=D9=CA =D2=C5=CC=C9=DA
&rel2.current;</a>
                                        </li>
                            <xsl:if test=3D"'&beta.testing;' !=3D 'IGNORE'"=
>
                                        <li>
%%%

--=20
wbr,
pluknet