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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby FrankC » 13. November 2011 12:03

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?
FrankC
 
Posts: 42
Joined: 23. October 2011 03:57
Location: The city of cities
XAMPP version: 7.4
Operating System: Win 10 Pro

Re: Check that server parses .php files only?

Postby Sharley » 13. November 2011 12:12

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/
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Check that server parses .php files only?

Postby FrankC » 13. November 2011 12:36

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?
FrankC
 
Posts: 42
Joined: 23. October 2011 03:57
Location: The city of cities
XAMPP version: 7.4
Operating System: Win 10 Pro

Re: Check that server parses .php files only?

Postby FrankC » 17. November 2011 20:06

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.
FrankC
 
Posts: 42
Joined: 23. October 2011 03:57
Location: The city of cities
XAMPP version: 7.4
Operating System: Win 10 Pro

Re: Check that server parses .php files only?

Postby JonB » 17. November 2011 21:06

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Check that server parses .php files only?

Postby FrankC » 18. November 2011 09:15

That would be a logical explanation!

Thanx. :)
FrankC
 
Posts: 42
Joined: 23. October 2011 03:57
Location: The city of cities
XAMPP version: 7.4
Operating System: Win 10 Pro


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 78 guests