9
           
            
                
     
    
    Quote:
i think i can live with the path to modul and with only rewriting the ?form_id=1
lol. One bit of code I have patched for more than 2 years and that is not in CVS yet. 

Just one line to change (but the file changed between 2.0.13 and 2.2).
With a 2.0.x core:
 in include/common.php, find 
    if (file_exists('./xoops_version.php')) { 
        $url_arr = explode('/',strstr($xoopsRequestUri,'/modules/')); 
        $module_handler =& xoops_gethandler('module'); 
 
and replace $xoopsRequestUri with  $_SERVER['PHP_SELF']  
With 2.2.x:
 in kernel/module.php (at the end of the file) 
        $url_arr = explode('/',strstr($GLOBALS['xoopsRequestUri'],'/modules/')); 
 
in that one, replace $GLOBALS['xoopsRequestUri'] with $_SERVER['PHP_SELF']  
and this will make your XOOPS a lot more mod_rewrite friendly 

skalpa.>
PS: I'm writing this without testing, so take care, but it should be it
PS2: That will be in the next one, promised
    
 
          
        Any intelligent fool can make things bigger, and more complex. It takes a touch of genius, a lot of courage, to move in the opposite direction.
Two things are infinite: the universe and human stupidity; and I'm not sure about the 1st one (A.Einstein)