p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: CSS Instant Results (http://p2p.wrox.com/book-css-instant-results-255/)
-   -   IE7 script not working on linux server (http://p2p.wrox.com/book-css-instant-results/49548-ie7-script-not-working-linux-server.html)

luminus October 28th, 2006 08:45 AM

IE7 script not working on linux server
 
Dear Mr. York,

First of all, thanks for the wonderfull work delivered and the clear syntax.
Question :
I develop on a Windows platform , but host my sites on a Linux server. I used the ie7-standard-p.js for the multi-column layout and it works like a charm under Windows. When posting my site on the Linux server it comes back with a 404-Page not found. Do you have any idea how to resolve this ?
Thanks in advance for your cooperation.

With best wishes,
Wim Paulussen

AGS October 28th, 2006 10:36 AM

Hi Wim,

404 Not found generally means just that - Not found. Linux is case sensitive. Are you sure you've written URLs referencing your resources correctly i.e. case of the letters is matched exactly?

richard.york October 28th, 2006 11:02 AM

If you have a URL to where you've uploaded the project, I might be able to help you troubleshoot.



Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html

luminus October 29th, 2006 07:40 AM

Hi,

Thanks for the replies.
Forgot to mention that it works well with Firefox. Url is as follows :
http://www.asgc.be/sion/index.html (this works fine). Click on the leftmost language flag and you will see that the website comes up and then generates a 404 error.

To AGS,

I picked up that the ie7 script creates its own urls and that this effect causes my problem. It should not work in Firefox either, or am I missing something ?

Thanks for any help in advance.

With best wishes,
Wim



richard.york October 29th, 2006 12:37 PM

The IE7 script doesn't work in Firefox, but you should still include it using conditional comments so that other browsers don't even see the script. It doesn't offer any functionality for other browsers anyway, since it is a CSS compliance patch for IE6 that is intended to bring IE6 up to the same level of CSS compatibility as is found in other browsers.

I've tried to load up IE7's test page to no avail. Can you please send me a link to the test.html file, which should be present in the IE7 install directory.

A listing of that directory should look something like this:
Code:

blank.gif              ie7-css3-selectors.js      ie7.gif          ie7-load.htc    ie7-server.css    test.html
ie7-base64.php        ie7-css-strict.js          ie7-graphics.js  ie7-object.htc  ie7-squish.js      test-trans.png
ie7-content.htc        ie7-dhtml.js              ie7-html4.js    ie7-overflow.js  ie7-standard-p.js
ie7-core.js            ie7-dynamic-attributes.js  ie7-ie5.js      ie7-quirks.js    ie7-xml-extras.js
ie7-css2-selectors.js  ie7-fixed.js              ie7-layout.js    ie7-recalc.js    README.txt

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html

AGS October 29th, 2006 02:00 PM

As far as I understand the problem is caused by ie7-load.htc file. It is the file which raises 404 error. The reason is probably that Apache Web server doesn't have correct MIME type mapped to .htc files.
There is a link to Microsoft article regarding this subject and configuration needed for Apache server:
http://support.microsoft.com/kb/306231


luminus October 30th, 2006 02:51 AM

Thanks guys,

It works now. I included all the files (initially only installed te ie7-standard-p.js script). The result can be viewed on the abovementioned link.

I will do the necessary to upload the english text so you can start booking your holidays in Saint Tropez [8D]...

With best wishes,
Wim



Collwood13 January 25th, 2007 10:28 PM

Looks like I am having the same problem with the IE script on the Linux server. I have double and triple checked my coding putting the contents under the root of the domain as well as a copy under the directory where the project resides. The bottom status bar of IE shows the files are loading but the iframe does not display.

One note: my hosting provider is shared so I have no ability to restart APACHE. I have added the meta type for the htc file but with no restart am I "dead in the water"? Other than move to Windows hosting are there any other suggestions?

Files at http://www.go2technologies.net/WroxC...ect1/Wrox.html

Thanks!

Collwood13 January 25th, 2007 11:49 PM

Quote:

quote:Originally posted by Collwood13
 Looks like I am having the same problem with the IE script on the Linux server. I have double and triple checked my coding putting the contents under the root of the domain as well as a copy under the directory where the project resides. The bottom status bar of IE shows the files are loading but the iframe does not display.

One note: my hosting provider is shared so I have no ability to restart APACHE. I have added the meta type for the htc file but with no restart am I "dead in the water"? Other than move to Windows hosting are there any other suggestions?

Files at http://www.go2technologies.net/WroxC...ect1/Wrox.html

Thanks!
This was a coding issue with a misplaced space. Always best to use the code from the CD to verify! This helped locate the error. [8D] All is fine now.

spiringwriter February 1st, 2016 07:35 AM

Weird on Linux has 90% of all servers, should work either way, check the paths


All times are GMT -4. The time now is 09:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.