Forums / Installing on a Windows Server / what have i done???

what have i done???

Views: 1,515

Results 1 to 5 of 5
10 Mar 2011, 9:57 PM
#1
lilith avatar

lilith

New Zenner

Join Date:
Jun 2009
Posts:
2
Plugin Contributions:
0

what have i done???

Hi all

i have installed my cart to a folder i created, (public_html/ ######/) now when i search for my site name i get directed to the /index of file which, if you click, goes to my site. i have been trying to stop this for a week now, today i managed to lose the site altogether, and after spending all day trauling this site and messing with my files i have only managed to get it back to where i started!

please advise as i am about to throw my laptop out the window! :cry:

lilith

11 Mar 2011, 12:58 AM
#2
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: what have i done???

add this line to '.htaccess ' in the root folder on your server

DirectoryIndex index.php index.html

11 Mar 2011, 1:54 AM
#3
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: what have i done???

Disregard the above post I see that you're on a Windows server.My mistake.

11 Mar 2011, 10:23 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: what have i done???

The index of/ page is displayed when you don't have an index file in that directory. If you're going to leave your store in a subdirectory (a mistake, in my opinion) you'll need to have some sort of 'jump' page in the root of your domain named index.html, or a redirect from the root to your store. I don't use Windows servers, so I don't know how redirects are done there.

11 Mar 2011, 10:06 PM
#5
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: what have i done???

How to Configure the Default Document ( in the zen cart root directory --> index .php)

*Assuming you have access to the server config files *

To configure default document settings in IIS:1. Start Internet Services Manager, or start the Microsoft Management Console (MMC) that contains the IIS snap-in.
2. Right-click the Web site, virtual folder, or folder whose default document settings you want to configure, and then click Properties.
3. Click the Documents tab.
4. Click to select the Enable Default Document check box. This turns on default document handling for the Web site, virtual folder, or folder that you selected.****************************************************END.