Any ideas on how to debug this problem would be appreciated:

Two Windows 7 (Home Premium) systems, one with Apache 2.2 installed (and working), the other with Apache 2.4 installed (and working). On the Apache 2.2 system, all SSI directives work in my .shtml files. On the Apache 2.4 system all SSI directives EXCEPT the conditionals (#If, #Else, #Endif, etc.) work (in the same .shtml files).

httpd.conf and .htaccess on both systems are (apparently) set up properly to enable SSI.

So... why would all SSI directives EXCEPT conditionals work on one system?

Recommended Answers

All 5 Replies

Member Avatar for LastMitch

@chucklet

Conditional SSI problem
Two Windows 7 (Home Premium) systems, one with Apache 2.2 installed (and working), the other with Apache 2.4 installed (and working). On the Apache 2.2 system, all SSI directives work in my .shtml files. On the Apache 2.4 system all SSI directives EXCEPT the conditionals (#If, #Else, #Endif, etc.) work (in the same .shtml files).

Can you tell me what results you got:

http://www.apache.com/file-extension/file-extension-SSI.html#9

Here is a terms you might know or want to know:

http://www.zytrax.com/tech/web/ssi.htm

Let me know how it goes.

LastMitch, thanks for replying, but I'm unclear on what "results" you are referring to. Do you mean the results in the "Your Computer Health Report" on that apache.com page?

Member Avatar for LastMitch

@chucklet

Do you mean the results in the "Your Computer Health Report" on that apache.com page?

Just to see the browsers results.

This issue you have is more technical you should have put this in the Hardware & Software section instead of here.

Explain more about the issue? You might need to run a few codes.

LastMitch... thanks for the suggestion to move this to Hardware & Software... it's not always easy to guess which forum is best.

Member Avatar for LastMitch

@chucklet

LastMitch... thanks for the suggestion to move this to Hardware & Software... it's not always easy to guess which forum is best.

Just open a new thread in the Hardware & Software section. I can't move a thread because I'm not moderator. Someone will help you there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.