Searching and .htaccess

General ShopSite user discussion
Post Reply
dZi
Posts: 96
Joined: Wed Feb 20, 2008 1:10 pm

Searching and .htaccess

Post by dZi »

Hello,

I have limited much of my site to Users that have a username and password. Anything they want to view in the /Shop/ directory requires authentication. The only problem is they can bypass and view all the products when they search. Is there any way I can move the Search directory under the /Shop/ directory, so that too requires access?

Thanks,

-Rob
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

The search pages are not static html pages but are generated on the fly by a cgi . The cgi directory is normally the sc or sb directory and contains all cgis used for search, registration, referrers, shopping cart, checkout etc. If you are going to require a user name and password you could try putting the .htaccess and .htpasswrd files in that directory and see if it would still work but I can't guarantee that it will.
Post Reply