Forums / Installing on a Linux/Unix Server / .htaccess file for root directory needed

.htaccess file for root directory needed

Locked

Started by samar777 on 28 Jul 2010, 12:41 AM · Views: 4,241

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Jul 2010, 12:41 AM
#1
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

.htaccess file for root directory needed

I have accidentally deleted the .htaccess file that goes in the root directory of the site.( same folder as ipn_main_handler.php and page_not_found.php)

Can someone please post the code here or if its unsafe , please PM it to me.

Fast help appreciated.

Automation is Godliness

28 Jul 2010, 1:24 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: .htaccess file for root directory needed

Zen Cart DOES NOT have, supply, nor need a .htaccess for the root of the site.
If you want to add one for yourself, feel free.
But Zen Cart doesn't need one. That's why there isn't one in the distribution files for Zen Cart.

.
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.

28 Jul 2010, 1:48 AM
#3
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Re: .htaccess file for root directory needed

Got it.

Should I create one as mentioned here and upload it?

https://www.zen-cart.com/tutorials/index.php?article=398

I am on a linux server running 1.3.8a

Automation is Godliness

28 Jul 2010, 1:59 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: .htaccess file for root directory needed

That depends: are you encountering hacker activity?

And, why are you running an old version of Zen Cart that's vulnerable to hackers?

.
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.

28 Jul 2010, 2:13 AM
#5
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Re: .htaccess file for root directory needed

I was hacked 6 months ago and it was a mess.

At the present time, I have installed all other patches and fixes that you have mentioned in this permanent post.

http://www.zen-cart.com/forum/showthread.php?t=131115

I am a little bit uncomfortable to upgrade to 1.3.9e myself. I have solicited some paid help and hopefully it will be upgraded soon. Also, I am running my store on a template, and not sure if that template will work with zc1.3.9, and other 20 mods that I have installed. So I guess in a way i am also waiting until all those mods are revised.

Automation is Godliness