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
Latest News: (loading..)
When I use my domain in the Browser it shows INDEX OF files in oscommerce-2.3.1 folder
Started by kamaljeet, Feb 09 2012, 12:17
9 replies to this topic
#1
Posted 09 February 2012, 12:17
#2
Posted 09 February 2012, 14:08
@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
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
:|: Was this post helpful ? Click the LIKE THIS button :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
#3
Posted 09 February 2012, 14:53
@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
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
#4
Posted 09 February 2012, 22:15
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.
#5
Posted 09 February 2012, 23:24
@Dorothy's Ride
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
Dorothy's Ride, on 09 February 2012, 22:15, said:
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
:|: Was this post helpful ? Click the LIKE THIS button :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
#6
Posted 09 February 2012, 23:41
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
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
#7
Posted 10 February 2012, 14:08
@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?
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?
#8
Posted 10 February 2012, 14:34
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
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
#9
Posted 12 February 2012, 08:02
NodsDorf, on 10 February 2012, 14:08, said:
@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?
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
#10
Posted 12 February 2012, 08:26
kamaljeet, on 12 February 2012, 08:02, said:
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
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














