Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

When I use my domain in the Browser it shows INDEX OF files in oscommerce-2.3.1 folder


kamaljeet

Recommended Posts

Hi: I'm using Oscommerce for some time but at localhost and recently I decided to upload files to a hosting company. But when I entered my domain in the browser it shows index of file in the Oscommerce-2.3.1 Same is with http://localhost/oscommerce-2.3.1

Can you please help as it looks nice if visitor opens up shop front page just by entering only domain name.

 

Thanks

Link to comment
Share on other sites

@@kamaljeet,

 

I would suggest your installation is not in the root directory or you have not named your sub-directory your start up directory for that domain name.

 

so either install it here: www.yourdomain.com

 

or here: www.yourdomain.com/store/ (if you choose this, ensure you have a landing page in the root directory OR you havea start up directory enabled.

 

 

Chris

Link to comment
Share on other sites

@@kamaljeet

 

If you're using Apache server then that is normal behavior for a folder that does not have an index file defined in http.conf

 

Edit the files httpd.conf:

Find this line.

DirectoryIndex index.html

and change it as follows:

DirectoryIndex index.php index.html

Link to comment
Share on other sites

I have the exact opposite problem. Installation was done by the hosting co and when I ftp'd to the site to the local host I get the "index". When I point directly to the index file within osCommerse I get server not found.

Link to comment
Share on other sites

@@Dorothy's Ride

I have the exact opposite problem. Installation was done by the hosting co and when I ftp'd to the site to the local host I get the "index". When I point directly to the index file within osCommerse I get server not found.

 

There is no localhost on a production server. Your installation would normally be in the /public_html/ or /httpdocs/ directory depending on if you use a Linux server or a windows server.

 

 

Chris

Link to comment
Share on other sites

Hi Chris,

 

I really hope you are misunderstanding my ignorance and not saying I have to start from scratch with a local installation. osCommerce was originally installed on a "production server" (if I understand you correctly, my host site) and I downloaded it to my computer to work on because my host bumps my connection too quickly for me to do anything more than log in. I think someone on another thread referred to it a "single click install" or something like that.

 

I would really like to change the look and I am trying to see what I am doing when I edit the style sheets on my computer but nothing will render in any browser or editor.

 

Thanks

Rich

Link to comment
Share on other sites

@@Dorothy's Ride

 

Hi Richard,

 

If your host installed it on their server, then the you downloaded it, to work on your personal server (Xammp or the like) then you would of had to edit the Configuration.php files /catalog/includes/configure.php & admin/includes configure.php for it to work on your server. Did you change them back to reference their server when you uploaded it back?

Link to comment
Share on other sites

Hi Don,

 

So as not to hijack this thread I was just going to post a seperate one. But no. I have oly really been able to totally hack my local server to the point of just reinstalling the OS a couple of times. I was considering doing a completely new install of osCom locally buut having read through the installation I came to the conclusion that there are only a few files I need to change. Thank you for your help. I hate to be a nuisance but if you could follow up on this with me on another post I would really appreciate it.

 

Thanks again

Rich

Link to comment
Share on other sites

@@Dorothy's Ride

 

Hi Richard,

 

If your host installed it on their server, then the you downloaded it, to work on your personal server (Xammp or the like) then you would of had to edit the Configuration.php files /catalog/includes/configure.php & admin/includes configure.php for it to work on your server. Did you change them back to reference their server when you uploaded it back?

 

 

 

I read your earlier post but could not find http.conf at etc/apache2/ instead file that I found is httpd.conf Unfortunately it is empty(0 bytes) I also tried to configure configuration file of admin and catalog but of no use.

Is there any way I can omit oscommerce-2.3.1 and catalog folder but can use all other files in these folders. This way I think I have to use only my domain name and URL won't be like www.domainname,com/oscommerce-2.3.1/catalog/

See when I write www.domainname,com/oscommerce-2.3.1 index of files appears and upon clocking on catalog folder front shop page appears. So I think my this plan can work if there is a way out to install all the files and folder minus oscommerce-2.3.1 and catalog folder.

 

Thanks

Link to comment
Share on other sites

I read your earlier post but could not find http.conf at etc/apache2/ instead file that I found is httpd.conf Unfortunately it is empty(0 bytes) I also tried to configure configuration file of admin and catalog but of no use.

Is there any way I can omit oscommerce-2.3.1 and catalog folder but can use all other files in these folders. This way I think I have to use only my domain name and URL won't be like www.domainname,com/oscommerce-2.3.1/catalog/

See when I write www.domainname,com/oscommerce-2.3.1 index of files appears and upon clocking on catalog folder front shop page appears. So I think my this plan can work if there is a way out to install all the files and folder minus oscommerce-2.3.1 and catalog folder.

 

Thanks

 

 

 

 

Hi

I'm Back I have found the answer in quick install guide by Vger

 

Thanks all of you

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...