View Single Post
Old 07-22-2011, 05:14 PM   #5
jpenn44
Minors (Single A)
 
Join Date: Jan 2002
Posts: 81
<?php
$db_host = "********.mysql.com"; // MySQL Hostname, usually localhost
$db_name = "nabl_reports_1"; // MySQL Database
$db_user = "*****"; // MySQL Username
$db_pass = "******"; // MySQL Password
$db_port = "3306"; // MySQL Port, usually 3306
$db_table = "nabl_league_reports"; // Name of table for reports data
$reports_url = "http://www.ootp-loho.com/reports"; // URL of reports web space, for example: http://www.your-domain.com/your-league/reports/
$reports_url_path = "/reports"; // Path from document root to reports folder, i.e. if the URL is http://www.your-domain.com/your-league/reports/, the path is /your-league/reports/
?>


Not sure how the .htaccess is relevant... and in actuality...at this point I get a IIS error when .htaccess is in the directory. I have to rename it. But it's not even getting to that point I don't believe

RewriteEngine on
RewriteOptions MaxRedirects=1

RewriteRule ^box_scores/(.*)\.html$ '/reports/index.php?type=e&name=$1' [L]
RewriteRule ^coaches/(.*)\.html$ '/reports/index.php?type=g&name=$1' [L]
RewriteRule ^game_logs/(.*)\.html$ '/reports/index.php?type=f&name=$1' [L]
RewriteRule ^history/(.*)\.html$ '/reports/index.php?type=h&name=$1' [L]
RewriteRule ^leagues/(.*)\.html$ '/reports/index.php?type=b&name=$1' [L]
RewriteRule ^players/(.*)\.html$ '/reports/index.php?type=d&name=$1' [L]
RewriteRule ^teams/(.*)\.html$ '/reports/index.php?type=c&name=$1' [L]
jpenn44 is offline   Reply With Quote