You are on page 1of 26

c 


 

        


     
                  
  


   

? 3     Ô  Ô Ô  


     
  
c! "     #
? c $ !        %  
% & '%  '()  
? ^ $      $    !      * ! 
? 
  & 
 + ! 

(!      !! !, ,  !       


     


^ 

3        +    



-  $
 $ .       $         
     !      !    / 
  !    !   
   
    0       $ /  *   
    !*  
   !/      




3       + 1 ! 2


"&  3 'c 4#         !   
   &
   Ô          

        !   
^     !  
      4 
        


&      *   




5 "6    78 9   7::;#



? %     
7
? ^     
<
? &     
=
? 3    
>
? *!   3cc=:=    
;
? ?         '  !
@
? ?      
8
?  A++++B
C
? 3   4    !    !
:
?%     

?        +
7
?& ((D
<
?%*!  
=
?3  >::
>
?) % ( !1% E!$2
;
?&! ! F)>
@
?9  
8
?3   

%     

$     





     Ô
"  /   
 $  !           
3      
      *           /  *
  + #
? /        
        !

#deny all access


deny from all
(          D  $ 

#deny all access


deny from all
allow from 10.0.0.1
 !  $  D "   *   #

allow from 192.168.0.0/24


          $ 

> les prado.html>


Order allow,deny
Deny from all

G $ 

^     

(           ! /    ! ! $  

 

Optons +Indexes +Multews + ollowSymlnks


          + 

IndexOptons ancyIndexng

c $          

IndexIgnore *
G $ 

&   

(            3   

php_alue zl.output_compresson 16386



G $ 

3    


              4  ! 
 Î   !          


(      !    "     !  /

4/   !    #


Order allow,deny
Deny from all
Satsfy All

G $ 

*!   3cc=:=    

(                 *!  
3cc=:=/     !

ErrorDocument 404 /errores/noencontrado.html


3       ,  ,  
       =:=

E  /             "=:</>:::/  #
(! 
      

  D  34    H  I       


      *!  =:=      >7  !

^    *  /  /*! D3/  !   !  
    0   F(     
J3    
    K& !0   *!        $ '! $
:$       43cF^  $    


G $ 

?         '  !

(   !              


RewrteEngne on
RewrteCond %{HTTP_RE ERER} ejemplo\.com [NC,OR]
RewrteCond %{HTTP_RE ERER} otroejemplo\.com
RewrteRule .* - [ ]

L   + 1   2   !*        
  !   
   !

     
/          " 4     #


RewrteEngne on
RewrteCond %{HTTP_RE ERER} !^$
RewrteCond %{HTTP_RE ERER} !^http://([-a-z0-
9]+\.)?example\.com[NC]
RewrteRule .*\.(zp|mp3|a|wm|mpg|mpeg)$
http://www.example.com/mages/nohotlnk.gf [R,NC,L]

3  H        
 /         
  " /<//+/!/ !# !   H   !I) 
/   ! *!/  /     
4  $     ,   
       
! *!        
*      
 
  /         !  * 
  !        *!  ' M((  *


G $ 

?      

3!       * !      /     !



     N +   
       ! 
    
4  $     =:<   
     !  
RewrteEngne On
RewrteCond %{HTTP_USER_AGENT} ^BlackWdow [OR]
RewrteCond %{HTTP_USER_AGENT} ^Bot\ malto:craftot@yahoo.com
[OR]
RewrteCond %{HTTP_USER_AGENT} ^ChnaClaw [OR]
RewrteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewrteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewrteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewrteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewrteCond %{HTTP_USER_AGENT} ^ErGraer [OR]
RewrteCond %{HTTP_USER_AGENT} ^EmalSphon [OR]
RewrteCond %{HTTP_USER_AGENT} ^EmalWolf [OR]
RewrteCond %{HTTP_USER_AGENT} ^Express\ WePctures [OR]
RewrteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewrteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewrteCond %{HTTP_USER_AGENT} ^ lashGet [OR]
RewrteCond %{HTTP_USER_AGENT} ^GetRght [OR]
RewrteCond %{HTTP_USER_AGENT} ^GetWe! [OR]
RewrteCond %{HTTP_USER_AGENT} ^Go!Zlla [OR]
RewrteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewrteCond %{HTTP_USER_AGENT} ^GraNet [OR]
RewrteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewrteCond %{HTTP_USER_AGENT} ^HMew [OR]
RewrteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewrteCond %{HTTP_USER_AGENT} ^Image\ Strpper [OR]
RewrteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewrteCond %{HTTP_USER_AGENT} Indy\ Lrary [NC,OR]
RewrteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewrteCond %{HTTP_USER_AGENT} ^Internet\ Nnja [OR]
RewrteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewrteCond %{HTTP_USER_AGENT} ^JOC\ We\ Spder [OR]
RewrteCond %{HTTP_USER_AGENT} ^larn [OR]
RewrteCond %{HTTP_USER_AGENT} ^Leech TP [OR]
RewrteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewrteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewrteCond %{HTTP_USER_AGENT} ^Mster\ P [OR]
RewrteCond %{HTTP_USER_AGENT} ^Naroad [OR]
RewrteCond %{HTTP_USER_AGENT} ^NearSte [OR]
RewrteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewrteCond %{HTTP_USER_AGENT} ^NetSpder [OR]
RewrteCond %{HTTP_USER_AGENT} ^Net\ ampre [OR]
RewrteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewrteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewrteCond %{HTTP_USER_AGENT} ^Offlne\ Explorer [OR]
RewrteCond %{HTTP_USER_AGENT} ^Offlne\ Nagator [OR]
RewrteCond %{HTTP_USER_AGENT} ^PageGraer [OR]
RewrteCond %{HTTP_USER_AGENT} ^Papa\ oto [OR]
RewrteCond %{HTTP_USER_AGENT} ^pauk [OR]
RewrteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewrteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewrteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewrteCond %{HTTP_USER_AGENT} ^SteSnagger [OR]
RewrteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewrteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewrteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewrteCond %{HTTP_USER_AGENT} ^Surfot [OR]
RewrteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewrteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewrteCond %{HTTP_USER_AGENT} ^odEYE [OR]
RewrteCond %{HTTP_USER_AGENT} ^We\ Image\ Collector [OR]
RewrteCond %{HTTP_USER_AGENT} ^We\ Sucker [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeAuto [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeCoper [OR]
RewrteCond %{HTTP_USER_AGENT} ^We etch [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeGo\ IS [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeLeacher [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeReaper [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeSauger [OR]
RewrteCond %{HTTP_USER_AGENT} ^Weste\ etractor [OR]
RewrteCond %{HTTP_USER_AGENT} ^Weste\ Quester [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeStrpper [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeWhacker [OR]
RewrteCond %{HTTP_USER_AGENT} ^WeZIP [OR]
RewrteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewrteCond %{HTTP_USER_AGENT} ^Wdow [OR]
RewrteCond %{HTTP_USER_AGENT} ^WWWO LE [OR]
RewrteCond %{HTTP_USER_AGENT} ^aldon\ WeSpder [OR]
RewrteCond %{HTTP_USER_AGENT} ^Zeus
RewrteRule .* - [ ]

"^     $#

G $ 

 A++++B

   /      !  '  

Optons + ollowSymlnks
RewrteEngne on
RewrteCond %{http_host} ^www\.example\.com[nc]
RewrteRule ^(.*)$ http://example.com/$1 [r=301,nc]

-  $ A+++B.3     

G $ 

3   4    !    !

(      !   4          
    !   *   

# Make PHP code look lke unknown types


AddType applcaton/x-httpd-php .cool
)  /   
 *      3
(   
            4  

G $ 

%     

? F    


        
+    "         #

? F    
! 
L    "$   
   O# !       
3       
 
 !         

? %     !     LM^ /! ! 1^2
  *!  "   ! * #
3  *
  *  ! "    #

? %       
 $   
     /    !
      
    !    $


G $ 

      


Ô 

3  0     ! !      *! ,  

? %   
Ô      

? 3   *   !  
  
  
3      4
^
         *
L  
     4! !

? (      % /      
 

?   /      

^     
 *            


AuthUser le /home/pathto/.htpasswd


AuthType Basc
AuthName "M Carpeta Secreta"
requre ald-user


(              !   


 

? & !0       


     
 


G $ 

& ((D

L          ((D

AddType text/html .html


AddType text/html .shtml
AddHandler serer-parsed .html
AddHandler serer-parsed .shtml
G $ 

%*!  

(         *!  "    #

DrectoryIndex nco.html ndex.htm ndex.html ndex.php


G $ 

3  >::

   !           >::

AddDefaultCharset utf-8
G $ 

) % ( !1% E!$2


3     0 '  !   !$   LM^

CheckSpellng On

G $ 

&! ! F)>

(  *       /   ! !  *   


F)>! ! ù1% D ! F    ! 2   
3  
0  !   


ContentDgest On
G $ 

9  

? ,, 
!, ,  , 
 
? ,,     
 , ,7::=,:;,  '
  ' !
? ,,  
,  ,7::>,:,:C,  ,
? ,,+++
 
, 
!


G $ 

3   

? ó      
 

G $ 

?
?

>>M    P3cF^,%((

3    $  /        $  /      
 
c    !              Q 
      !


   

? 3$       



 Ô 
  
 
    ,      "    
   !#
? ^ $      $ !  !    *
! 
? ^  
 
    ! !      "I1IH2I#
? l c+Fó  
? 
  >>    !P3cF^,%((

^ 


? E           ! /  !/
   
7
?   ! *          ! 
  "0  0  /      #
<
?                $
  * $"  $#    
=
? H&  I      !    *    
   ! * 
>
?                ** 
*  *! *  
;
? ( **      P3cF^7
:   * * 
   *  
@
? %    *  /     *!  * 
 *    !  !  ,,
8
? %     * */    *   
      4     
C
?       *       
            
:
?       *      
 ! !  *        
   !

?(        !      *
      "  #      *
 0  
7
?3           *! "  
9 #
<
?^    !    4* ,  
  "  9 #
=
?M          *   
>
?3 *        0    
;
?3 !         %F(
 
@
?3 !    ! ! * !   
8
?(                /
             
C
?(        !   ! 
         
7:
?c          *! 
7
?c     *         ! 
77
?^    * +   *    / 
       !
7<
?%        /  ! * 
7=
?%!  !        *  ! 
7>
?%!  * !   ! * 
*      0   !   
     !
7;
?c     *  !    
7@
?c     *     "   #
78
?&  *    PF^/         
7C
?^   %(( !       !! 
!      
<:
?c     **           
 P(^c
<
?3   *        *      
<7
?&   *     !     
   "    ' # * ! 
<<
?      !$   %G
<=
?^  !     * *   *
<>
?c  *   !     H   
<;
?3   )%   /R  S /R (F/(  
D/% F/) ! ?+/) ( T
<@
?   *  H I/        / 

<8
?&  *      !       /
   /   ! 
<C
? 4  *   
=:
?^         * *   
=
?             
=7
?3*            
=<
?&           !
==
?             H     
E I
=>
?        ' /     
     
=;
?%* !    *! *  /   
    *     4  ** 
* 
=@
?P3cF^    *   3cF^
=8
?34  * !         /      
! P3cF^/        * ! 
=C
?    /*    /   !  
    
>:
?&    1 !2*      
  *    " #
>
?ó!    
? =/<8:/:::4     U=/<@:/:::   
 4 1   0      
::
:::
  2
? 7:;H4      IU8@H     
4 I1   :   2
? 7/<:/:::4   V:/<::/:::   
>7
?%    !        FDF3' "4#
   / *       3cF^ 
  FDF3  
><
?F  * !    P3cF^/  !       D3
 *    FDF3'   
>=
?^        & *!  
>>
?(         3cF^    
9    !

?
%((  

^   7::   / !0  $   /   *!  ! *


     
^          / ! !0  


^       !             
*   
        $ 

^    
 
   
F   0  *    
0      / 3cF^   


- .

3    0! 


E *  9       
  
!  $       ^4    Pc  4 
   /  E /9 4/D3/   !    /    
 
       Ô   
  !
 

       


^  * /        
!     *       Q    $  !
   


3       %((


33cF^   !     / 
   D    '  
c    


 
    
          Ô  

^   ) )$


3   $/ > &/      !  
          !    *
 /    /  !!    


" 
     
  Ô



-%.

3  /  


^*          $   
  
( !        "   #

  4      
 

3    


 "       +'
 ,  ,nombre_del_theme,#    $ 

>lnk rel="stylesheet" href=">?php lognfo('stylesheet_url');


?>" type="text/css" meda="screen" />
  !

>?php
$DustnsNakedDay_sToday = (date('md')=='0405');
$DustnsNakedDay_allPages = true; // false for just the home
page
$DustnsNakedDay_getNaked = ($DustnsNakedDay_sToday &&
(s_home() || $DustnsNakedDay_allPages));
f(!$DustnsNakedDay_getNaked) { ?>
>lnk rel="stylesheet" href="´ type=´text/css´ meda=´screen´ />
>?php } ?>

( 3

&! !*   ! !    !  *    !         !
      

>?php
functon s_naked_day() {
$start = date('U', mktme(-12,0,0,04,05,date('Y')));
$end = date('U', mktme(36,0,0,04,05,date('Y')));
$z = date('Z') * -1;
$now = tme() + $z;
f ( $now >= $start && $now >= $end ) {
return true;
}
else {
return false;
}
}
?>
       *   $      !0 !  
$ > &


3      /   


3 /*


Customize plugin (Wordpress)


Customize plugin for Wordpress
Provides css based customization for themes. Lets themers offer customization options with
their theme really easily, just with a few css tricks ! This plugin is free and open source, as
usual.

Download the Customize plugin (v1.0.1)


And start customizing !
This plugin lets users customize their theme easily, and themers provide customization
options just by adding some special comments in css. Freshy 2 is the first theme to provide
support for customize.

Îor users :

Easily customize your theme by changing images, colors, elements sizes, fonts or anything
the theme provides customization options for.

Download the plugin, place the customize folder in your wordpress plugins folder, and then
activate the plugin. A new tab will appear when you go to ³Presentation´, named
³Customize Theme´, providing options for your theme if it is compatible.

Îor themers :

You made a great looking, neat and sweet theme ? Would not you like to let users change
some colors, backgrounds, sidebar width or make layout whether liquid or fixed ? Grr
making that stupid form, saving those database entries, hey i¶m just a css coder man ! Cool,
this is exactly for you, then, just see :

This code :
a {
/*:Nagaton color*/
color:#ff6600;
}

Gives a customize form with :

Some explanations : You must create a separate css named ³custom_template.css´ in your
theme folder. Write this little css snippet in it. You just saw that comment in the css, above
the color property ? That¶s the only thing you need : add a comment beginning with ³:´ and
then add the name you would like to give to the property. Here i chose ³Navigation color´,
but it could have been anything else.
With this only comment, and if the Customize plugin is installed and activated, then the
user will be able to change this value in the Customize panel, with a cool color selector.

Another example ?

ody {
/*:Header mage*/
ackground-
mage:url(mages/headers/ules.jpg);
}

Adds to the form :


It¶s magic ! A list of images to choose from is provided to the user. In fact, those are all the
images located in the ³images/header´ directory. When the user hovers an image, a zoom
preview appears. It is also possible to upload an image. This example also shows that css
shortcuts, eg. ³background:«´ are NOT allowed, since we need single property-value
pairs. Use ³background-image´, ³background-color´«

Yet another ?

#ttle_mage {
/*:Header heght*/
paddng-top:200px;
}

Adds to the form :

Sliders are provided for all length values. User can also choose between px, em or %,
which is great for example to switch between liquid or fixed layout.

But hey, wait a minute ! What if i do this :


a {
/*:Nagaton color*/
color:#ff6600;
}
.sdear h2 {
/*:Nagaton color*/
order-left-color:#ff6600;
/*:Nagaton color*/
color:#ff6600;
}

No worries, all of this will be handled by the plugin, you can even mix classes, mix
properties, names, whatever, only one field will be output. It will work ok since you did
add the special comment before the property-value pair.

Note that any property will work, providing a specific input widget or a simple input as a
fallback.

Besides this, you can provide additionnal sub-themes with your theme. They can be some
preset to choose from, or completely different css to provide additional properties or a
different layout. Just add some css files with names beginning with ³custom_´ and use the
same rules as for custom_template.css. These stylesheets will appear as a select box in the
Customize panel :
Users can also save their own settings. In fact they have to, that¶s the way settings are
applied :

If for some reasons the user can¶t write files, values are stored as variables. Note that i did
not test this extensively so let me know if you succeeded or failed.

Plugin YammYamm (Wordpress)


oig update ! A few bug corrections and now widget compatible !

Download : Plugin YammYamm 0.6 for Wordpress

YammYamm (yet another multilingual manager x2). You create a top category and a top
level page for each language. In the options panel, you set the languages. When you create
an article, make it under the language top category. When you create a page, make it under
the language top page. Then you call the appropriate functions in your template for
language selection and navigation display. That¶s it.

Usage :

 ? ?? 
??  ?
???
?
??
 ?  ? ? 

?  ? ? ?
  ??

??  ?  ?
 ??
* ?  ? ? 

? ? ? ?
  ??

??! 
?  ?"
  ??
# ? $ ? ? ? %??&  %??' '  ??
( ?  ? ?
 ? ? ?
)???

?
* ? $ ? ? ? %??+ %??' ' ?  ?? ?  ??
, ? -? ? ?

? ?
? ? ?' ' ???

chere are 2 files to edit:

 ? ÷ 
?
 ? ? .  ??

??  ?/ 01 / %1 /.


23? ?
?4/
/ ?  5 ?4/
/ ?
)????

>ul> >?php f(functon_exsts('yy_menu'))


yy_menu('sort_column=menu_order&ttle_l=','ttle_l=&herarchcal=
1'); ?> >/ul>


  ??-?  ?4

? 
?? ?04?
5
? 2?   

?
 ? ?4?? ?? ? ? ? ? ? %?  ?4

? ??
 ? ??

 ? -??  ??6 
? ??
?  ?4/
/ ??
 ? -?  ?  ??6 
? ??
?  ?4/
/ ??

— 
?- ? 4?
4 ?  ? 
??.
?  %? ?

??1 / ?


 %?  ? ??  ? ? 4? 
?? ???

>ul> >?php f(functon_exsts('yy_menu'))


yy_menu('','ttle_l=&herarchcal=1'); ?> >/ul>

 ? 
??
 ? !???.? ???

>?php f(functon_exsts('yy_redrect')) yy_redrect(); ?>

â?4

? ??
 ? ??. 4?  ? ? ?? ? ? ??

  ?
— 
?â??  ? 
%? ? ? ?4? ??? ? ? ??
 ?  ? ?? ? ? ?4. ??
 ? "? ?4 ? ? ? ?
 ?
 ? ???

>?php f(functon_exsts('yy_lang_menu'))
yy_lang_menu("lang_menu"); ?>

-?4

?  ???

>l d="fr_ R" class="lang_menu current_page_tem"> >a


href="http://www.jde.fr/francas/"> >span>francas>/span>
>/a> >/l> (etc...)
Œne of the biggest part of this update is that there is now a sidepanel in the admin
page : When you write a blog post, if no langu_age is set for that post, all the categories
will be shown. If you set a language, only the sub-categories will display :

That is the same for the pages. If no language is set, all the pages will be shown. If you
choose a language, only the children pages will display :

?
?

$oadmap :

O? . ? ?!7-8?-!97??
O?   ?  ?  ? ?  ? ?
 ??
O?   ?
 ?  ?:?
??
O?  )?  ? ? ? ????  
??
O?
)? ?  ? ?? ?
 ??
O?
)?  ??
O? ?  ? ? ? ? .
??
O?  
?? 
?4?
 ??
O?  )?  .
?4?4 ??