Search the Community
Showing results for tags 'chatper#8'.
-
Hello Larry, I am working in my localhost environment: XAMPP PHP version 5.3.5 PHPmyadmin (MySQL) version 5.0.7 My webroot directory is: C:\XAMPP\htdocs\ And my base directory for the coffee site is: C:\XAMPP\htdocs\ECOMMERCE_2 I just tried to open localhost/ecommerce_2 so I get only raw content and there no images or css links with this page. My Config.inc.php file: ............................................ ............................................ define ('BASE_URI', 'includes/'); define ('BASE_URL', 'localhost:8888/ecommerce_2'); define ('MYSQL', BASE_URI . 'mysql.inc.php'); ............................................ ............................................ My default header.html file: ............................................ ............................................ <link href="/css/style.css" rel="stylesheet" type="text/css" /> </head> ............................................ ............................................ <li><a href="/index.php" class="first"><img alt="" src="/images/icon-home.gif" /></a></li> <li><a href="/cart.php"><img alt="" src="/images/icon-cart.gif" /></a></li> <li><a href="/contact.php"><img alt="" src="/images/icon-mail.gif" /></a></li> <li><a href="/sitemap.php"><img alt="" src="/images/icon-map.gif" /></a></li> </ul> <div class="logo"> <h1><a href="/index.php">Coffee</a><span>Wouldn't you love a cup right now?</span></h1> </div> </div> <ul class="nav"> <!-- MENU --> <li><a href="/shop/coffee/">Coffee</a></li> <li><a href="/shop/goodies/">Goodies</a></li> <li><a href="/shop/sales/">Sales</a></li> <li><a href="/wishlist.php">Wish List</a></li> <li><a href="/cart.php">Cart</a></li> ............................................ ............................................ And my default .htaccess file: <IfModule mod_rewrite.c> RewriteEngine on # For sales: RewriteRule ^shop/sales/?$ sales.php # For the primary categories: RewriteRule ^shop/([A-Za-z\+]+)/?$ shop.php?type=$1 # For specific products: RewriteRule ^browse/([A-Za-z\+\-]+)/([A-Za-z\+\-]+)/([0-9]+)$ browse.php?type=$1&category=$2&id=$3 # For HTTPS pages: RewriteCond %{HTTPS} off RewriteRule ^(checkout\.php|billing\.php|final\.php|admin/(.*))$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> Does anyone have any ideas or suggestions and how to solve the problem? Thanks Best Wishes, Adnan
- 3 replies
-
- part three
- selling physical
-
(and 2 more)
Tagged with: