Quote:
Originally Posted by hbomb
|
The $reports_url_path is wrong I guess. It should not contain the domain. Should be /game/lgreports/
Only edit the .htaccess file in the reports folder! Do not edit any other .htaccess file.
The reports folder should have permissions set to 777 because otherwise the unpack script cannot unpack the tar.gz file.
Try this for your htaccess file:
PHP Code:
RewriteEngine on
RewriteOptions MaxRedirects=1
RewriteRule ^box_scores/(.*)\.html$ /game/lgreports/index.php?type=e&name=$1 [L]
RewriteRule ^coaches/(.*)\.html$ /game/lgreports/index.php?type=g&name=$1 [L]
RewriteRule ^game_logs/(.*)\.html$ /game/lgreports/index.php?type=f&name=$1 [L]
RewriteRule ^history/(.*)\.html$ /game/lgreports/index.php?type=h&name=$1 [L]
RewriteRule ^leagues/(.*)\.html$ /game/lgreports/index.php?type=b&name=$1 [L]
RewriteRule ^players/(.*)\.html$ /game/lgreports/index.php?type=d&name=$1 [L]
RewriteRule ^teams/(.*)\.html$ /game/lgreports/index.php?type=c&name=$1 [L]