Forums / Upgrading to 1.5.x / .htaccess in V1.5.1

.htaccess in V1.5.1

Started by craig_robbo on 12 Dec 2012, 3:55 AM · Views: 1,086

Results 1 to 2 of 2
12 Dec 2012, 3:55 AM
#1
craig_robbo avatar

craig_robbo

Zen Follower

Join Date:
Oct 2008
Posts:
109
Plugin Contributions:
0

.htaccess in V1.5.1

Hi

I've finally got a merged version of V1.5.1 up and running in a test folder on another database on the same server as my original 1.3.8a.

I was unable to access my new test admin until I deleted the .htaccess on my new admin folder.

My cart was also broken until I deleted the .htaccess from my includes folder.

I tried pasting them both back to no avail.

Can anyone tell me why this would be so, and offer any suggetions to changing the .htaccess files without compromising my sites security.

Thanks

Craig

12 Dec 2012, 4:00 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: .htaccess in V1.5.1

Who's your hosting company?
What operating system is your server running?
What webserver engine is your hosting company using? Is it Apache, or something else?
Have you read the "requirements" listed in the top of those .htaccess files, and had your host make the required changes to their server to accommodate those requirements?

If your host won't make the changes required to allow those security settings to work, then get them to write new .htaccess rules that will work on their server AND provide the same protections that the files that come with Zen Cart are designed to do.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.