You are here:  » setup problem

Support Forum



setup problem

Submitted by pricetapid on Sat, 2010-03-20 23:52 in

During installation I got the following message:

Checking database connection...PASS

Checking database selection...PASS

Checking database tables...PASS

WARNING: $config_useRewrite is TRUE but .htaccess not found.

Setup Completed!

Click here to continue...

I installed Price Tapestry in a subdirectory and in the config file I put:

$config_baseHREF = "/subdirectory/";

I also had an .htaccess file in the root directory already.

Any ideas why this happened? Was the .htaccess supposed to be in /subdirectory/?

Thanks.

Submitted by support on Sun, 2010-03-21 09:10

Hi there,

If you want to use clean URLs (which are enabled with $config_useRewrite = TRUE; in your config.php) then you also need Price Tapestry's .htaccess in your /subdirectory/

It is in the distribution as htaccess.txt (because it is difficult to distribute a filename beginning with ".") so what you first need to do is edit this file and change line 5 from

RewriteBase /

to:

RewriteBase /subdirectory/

..and then upload it to /subdirectory/ as .htaccess.

Your site will then work fine, and there won't be any conflict with your other .htaccess in your top level directory...

Cheers,
David.

Submitted by pricetapid on Wed, 2010-03-24 01:20

Thanks! It works. I thought I had to put the htaccess in the root.