printpro Posted November 21, 2008 Share Posted November 21, 2008 Hi, I'm very new to osC, but not to online sales (been at it since 1991 in CompuServe -- moved to the internet in 1994). However, this is the first shopping cart we've ever had and it can be quite daunting to a non-developer such as myself. I've managed to hack my way through much of the code, but there are a few quirky items that I just can't seem to figure out: 1) I wrote a rewrite rule to force anyone trying to get to the admin pages to be directed to the SSL version. The code is (commented out): # Options +SymLinksIfOwnerMatch -FollowSymLinks # RewriteEngine On # RewriteCond %{SERVER_PORT} 80 # RewriteCond %{REQUEST_URI} /store/admin/ # RewriteRule ^(.*)$ https://www.xxxxxx.com/$1 [R,L] It works beautifully, except that the login fails ... so I guess not so beautifully after all :) The code is NOT in the store/catalog section, only in the main public_html sub. Should I be adding this code to another .htaccess file in another subdirectory? We do have an SSL Thawte cert, so that's not the issue. 2) The words BOX_HOMEPAGE show up when you place the mouse over one of the graphics and for the life of me, I can't figure out where it's being called from. I've checked the stylesheet and header.php, but can't find the alt= " BOX_HOMEPAGE " referenced anywhere. I did a search for it before joining this forum and couldn't find anyone else referencing it either. We did purchase a template, but template-help support can be just as hair-pulling at times. Pardon the length of my first post, but wanted to be clear. If it's necessary, the server has all the latest and greatest: MYSQL5 and PHP5 with osC's 2.2a (or whatever it's called for RC something). Thanks in advance for any assistance. Link to comment Share on other sites More sharing options...
printpro Posted November 21, 2008 Author Share Posted November 21, 2008 2) The words BOX_HOMEPAGE show up when you place the mouse over one of the graphics and for the life of me, I can't figure out where it's being called from. I've checked the stylesheet and header.php, but can't find the alt= " BOX_HOMEPAGE " referenced anywhere. I'm answering myself (I tend to do that often). I couldn't find it because it wasn't defined so it's either a bug in osC or from those who created the template. I defined it and all is well in our lovely new storefront :) BUT ... I have read just about all the other answers to the SSL situation (quite common I see) and none of the solutions offered seem to help me unfortunately. Would this be server specific? Anyone out there? Hello? :) Thanks again in advance for any help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.