Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Linux/Unix Server / Can I rename the end cart index.php?

Can I rename the end cart index.php?

Locked

Started by iface on 15 Dec 2008, 12:27 AM · Views: 2,084

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 Dec 2008, 12:27 AM
#1
iface avatar

iface

New Zenner

Join Date:
Dec 2005
Posts:
21
Plugin Contributions:
0

Can I rename the end cart index.php?

I need to rename the index.php on an existing Zend Cart store. Is it possible or will there be problems?

15 Dec 2008, 12:32 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Can I rename the end cart index.php?

iface:

I need to rename the index.php on an existing Zend Cart store. Is it possible or will there be problems?
Will be a problem. Why do you want to do that?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

15 Dec 2008, 1:42 PM
#3
iface avatar

iface

New Zenner

Join Date:
Dec 2005
Posts:
21
Plugin Contributions:
0

Re: Can I rename the end cart index.php?

Thanks for the help.

Currently the Zen Cart app is installed on the root web directory. It serves the entire web site.

Our problem is we now need to add two larger web apps that both have very specific file/path/url structures. Somehow we need to move Zen Cart out of the way, (without destroying it) as it will only be serving a small sub set of the web site.

Our fist thought was just to rename index.php to store.php. If we can't rename the index file can we move the entire Zen Cart application into a new sub directory? (knowing that the URLs/path with change)

15 Dec 2008, 1:48 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Can I rename the end cart index.php?

Yes, you can move it to a sub directory very quickly and easily (if you use your host account c-panel's MOVE function).

(I usually use COPY to a sub-directory, rather than MOVE, just to be sure... when I know that the copied version is 100% OK, I DELETE the original install in the root folder.)

After moving it, you will need only to change PATH references in your two configure.php files that have themselves also been copied/moved.

BACKUP FIRST ! ! !

15 Dec 2008, 2:10 PM
#5
iface avatar

iface

New Zenner

Join Date:
Dec 2005
Posts:
21
Plugin Contributions:
0

Re: Can I rename the end cart index.php?

Hello fairestcape

Thanks for the help. Moving or copying all the Zen Cart files into a new store directory turns out to be a better solution. It allows us to gather all the files together in a cleaner more organized directory structure.

18 Dec 2008, 5:35 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Can I rename the end cart index.php?

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