The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RewriteBase question in .htaccess
#1
Hello,

I have a generic RewriteBase question that I hope somebody can help me with.

I have a standard install of GS and I have also just installed a shopping cart (CS CART) that I want to operate concurrently with the main website. (Ie a link will exist from the main site to the store script.

Main website (using XAMPP): localhost/xyzfolder/
CS Cart install location: localhost/xyzfolder/store/

The CS Cart script does not work because everytime I click on a product it gets redirected to the home page of the main website.

when I change the RewriteBase statement in the main website folder (not the store subfolder) to;

RewriteBase /xyzfolder/store/ (from RewiteBase /xyzfolder/)

The CS Cart works OK and products can be viewed but of course this breaks the main GS website.

I just want to use the main website normally and use a link to access the ON-LINE Store.

Can anybody help with some advice on what to put in the .htaccess file so both can work OK.

As mentioned I believe this is just a generic .htaccess coding issue but I'm a bit lost when it comes to .htaccess statement.

Thanks in advance.
Reply


Messages In This Thread
RewriteBase question in .htaccess - by stryker - 2014-11-25, 17:57:03



Users browsing this thread: 1 Guest(s)