Do you have a mod for mod_rewrite on download mod?
cheers
Moderator: Moderators


#
#-----[ FIND ]------------------------------------------
# I know this sucks ;-)
return $this->url . $html_anchor;
#
#-----[ BEFORE, ADD ]------------------------------------------
#
if ($this->dlmod) {
$this->url = ROOT_URL . ( (strpos($this->url, $this->dl_seo_static['dl_index']) !==FALSE) ? '' : PHPBB_SCRIPT ). $this->url;
}
/**
* Rewrite URLs.
* Allow adding of many more cases than just the
* regular phpBB URL rewritting without slowing up the process.
*/
function url_rewrite($url, $non_html_amp = FALSE) {
global $phpEx;
$this->url = $this->url_in = $url;
if ( strpos($this->url, ".$phpEx") === FALSE || defined('IN_ADMIN') || defined('IN_LOGIN') ) {
return $url;
}
// Grabb params
$this->url = str_replace('&', '&', $this->url);
$parsed_url = @parse_url($this->url);
parse_str($parsed_url['query'], $this->get_vars);
$this->file = basename($parsed_url['path']);
$this->path = trim(trim(dirname($parsed_url['path']), "."), "/");
$this->path = (!empty($this->path)) ? ( isset( $this->seo_path['PathToUrl'][$this->path . '/'] ) ? $this->seo_path['PathToUrl'][$this->path . '/'] : $this->path . '/' ) : '';
$this->filename = trim(str_replace(".$phpEx", "", $this->file));
if ( in_array($this->filename, $this->seo_stop_files) ) {
return $url;
}
// Reset $url
$this->url = $this->file;
if ( @method_exists($this, $this->filename) ) {
$this->{$this->filename}();
// Assamble URL
$this->url .= $this->query_string($this->get_vars);
//$this->url = (!$non_html_amp) ? str_replace('&', '&', $this->url) : $this->url;
return $this->path . $this->url . ((!empty($parsed_url['fragment'])) ? "#" . $parsed_url['fragment'] : '');
} else {
return $url;
}
} return $this->path . $this->url . ((!empty($parsed_url['fragment'])) ? "#" . $parsed_url['fragment'] : ''); 

The requested URL /ROOT_URLdownloads/monster-hunt-files-3/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the requedefine('ROOT_URL', $phpbb_seo->seo_path['root_url']);?>
Fatal error: Call to undefined method phpbb_seo::seo_req_uri() in /home/planetmo/public_html/downloads.php on line 259

Users browsing this forum: No registered users and 3 guests