[python] cacheovai .py kodu v apachi (mod_python)
    Daniel Hodan 
    daniel.hodan na gmail.com
       
    Neděle Červenec 10 10:37:16 CEST 2005
    
    
  
zdravim
chtel bych se zeptat jestli se nekomu uz nestala ta sama situace jako 
me. delam stranky pomoci mod_pythonu do apache, ale kod se neustale 
cacheuje, jedine co pomuze je restart apache. tak jsem googlil a nasel 
sem, ze mam upravit konfigurak apache takto
<Directory "C:/www">
   AddHandler mod_python .py .pyc
   PythonHandler mod_python.publisher
   PythonDebug On
   Header set Pragma "no-cache"
   Header set Cache-Control "no-cache"
   Header set Expires "-1"   </Directory>
<Files *>
   Header set Pragma "no-cache"
   Header set Cache-Control "no-cache"
   Header set Expires "-1"
</Files>
bohuzel ani tohle nepomohlo a abych videl zmenu kodu tak musim 
restartovat apache ;o(
zkousel sem i mazat .pyc ale stary kod se zobrazuje stale. netusite 
nekdo co s tim?
swwinxp sp2, apache 2.0.54, mod_python 3.1.4.0
    
    
Další informace o konferenci Python