Koozali.org: home of the SME Server

Primary web site problem

Bill

Primary web site problem
« on: September 10, 2003, 11:10:30 PM »
I set up a sme5.6u4 server for a friend and he is having a very weird problem with the primary web site.

We created a default web page and everthing was fine. He then uploaded a web site created by a software package that based the website on a javascript. The website would not run correctly so we deleted the entire contents of the html directory and re-created the starter web page. Even though the only contents of the html dir is the index.htm file and there is nothing in the files or cgi directories we still get the non-functioning javascript page when browsing to the site. We have rebooted the server, cleaned the cache and temp files on the web browser (IE5) and we still get the "ghost" site. The only way to display the starter page is specify the entire name of the page in the URL. Just in case it is a case of a SME cache issue we let it set overnight and its still trying to serve the ghost page.

Any suggestions as to what is going on or more importantly, how to fix this without reformatting the drive and starting over?

If anyone wants to take a look, the web site is

www.dilorenzoelectronics.com

Ray Mitchell

Re: Primary web site problem
« Reply #1 on: September 11, 2003, 05:49:33 AM »
When I go yo your site I get
DiLORENZO ELECTRONICS INC
  Motorola Sales Service

Is that all that's there now ?

Try Ctrl F5 in your IE browser

If you still have a index.htm file there that was created by the sme server, I think you need to remove that

Ray

Bill

Re: Primary web site problem
« Reply #2 on: September 11, 2003, 07:56:10 AM »
We finally found the problem. It seems that if there is a index.htm and a index1.htm in the dir that some strange things happen. Not exactly sure why but it sure screwed up apache. He is recoding the web site to change the urls and the final version site should be up in a day or two.

Can anyone explain what having a index.htm and a index1.htm in the same dir actually does? I dont code web pages so its a bit of a mystery to me.

The other strange thing is my sme system insists that the old web site is still there even though I get the correct generic web page (the one there now) when I go in via a laptop and a dial-up connection. I am presuming it has to do with the proxy running on my sme.

Is there an easy way to disable the proxy? I only have 4 users (family) on my system so its a waste of drive space to cache web pages on my server.

Ray Mitchell

Re: Primary web site problem
« Reply #3 on: September 11, 2003, 08:25:03 AM »
Try Ctrl F5 in your IE browser to clear the cache of the old site index file.
You might also want to close the browser and delete History.

I'm not too well versed but I think index.hm will take precedence over other files, as far as browser requests are concerned.
If you want to use index.php or similar then you need to remove the other index files.

Ray

Terry

Re: Primary web site problem
« Reply #4 on: September 11, 2003, 02:03:03 PM »
To disable transproxy look in the FAQ on the e-smith.org site, it's in there...