Page 1 of 1

Check that server parses .php files only? [Solved]

PostPosted: 13. November 2011 12:03
by FrankC
Hi,

Although my editor (WeBuilder, not WebBuilder) integrates very well with XAMPP, the rendering of .html pages can be slow. Where can I check that the server only parses .php files and lets .html files pass?

Re: Check that server parses .php files only?

PostPosted: 13. November 2011 12:12
by Sharley
The server does not parse html files, that is done in the browser and to all intents and purposes Apache just passes html files to your browser, as is.

So perhaps your issue is with your browser or some html code issue that is slowing down your browser?

Check that your html code conforms to a W3C standard by visiting this great site:
http://validator.w3.org/

There is also a CSS (Style Sheet) validator:
http://jigsaw.w3.org/css-validator/

Re: Check that server parses .php files only?

PostPosted: 13. November 2011 12:36
by FrankC
My code validates up to the very last dot and comma :) . Always does, as one of my specialties is cross-browser rendering, from IE6 to Chrome 23 :wink:. I guess it's an editor thing, the slow .html rendering in its preview mode when a server is installed.

In the meantime, I remembered that issues like these are laid down in the .htaccess file (I've been doing something else for a few years). I searched the XAMPP folder and subfolders, but I can't find the main .htaccess file?

Re: Check that server parses .php files only?

PostPosted: 17. November 2011 20:06
by FrankC
Sharley,

I wasn't kidding when I said that all my pages are cross-browser, from IE6 to the latest Chrome. I even write tutorials on cross-browser design. But I still can't find/identify the main .htaccess file in the XAMPP folder.

Re: Check that server parses .php files only?

PostPosted: 17. November 2011 21:06
by JonB
But I still can't find/identify the main .htaccess file in the XAMPP folder.


I think that might be explicable by the fact there isn't AFAIK (by default) a .htaccess file in the root of htdocs.

Good Luck
8)

Re: Check that server parses .php files only?

PostPosted: 18. November 2011 09:15
by FrankC
That would be a logical explanation!

Thanx. :)