This is a discussion on Apache for Windows within the Windows Web Servers forums, part of the Web Server and Related Forums category; Anyone out there using the Windows version of Apache? I can't get server side includes to work and could ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Jack Gostl wrote:
> Anyone out there using the Windows version of Apache? I can't get server > side includes to work and could use some advice. I just replied to you first post. Yes, I have been using Apache on Windows for over 5 years. I use the 'virtual' include like this: <!--#include virtual="/file.inc"--> -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com |
|
|||
|
On Mon, 10 Jul 2006, Jack Gostl wrote:
> Anyone out there using the Windows version of Apache? I use a version of Apache 2.0 as a development platform on a Win/XP laptop, yes. Not a lot, but I use it. > I can't get server side includes to work and could use some advice. Please put the subject of your posting in the "Subject" of your posting. Thanks. (We already know it's about Windows - it's in the name of the group. There's a pretty high probability it's about Apache, since that's the most-often-used HTTPD. So you pretty-much wasted your chance to attract anyone interested in the subject of your posting. Might I suggest perusing http://www.catb.org/~esr/faqs/smart-questions.html for some really useful advice on how to get the best out of usenet, and which also stands one in good stead in other forums.) SSI works for me, but I actually use XBitHack, as it most closely resembles what I do on the production server. The difference is that on unix-like platforms, one gets to control the operation of xbithack by setting the owner- (and if appropriate also the group-) execute bits on the file. On Win32 there's no direct equivalent, and the documentation: http://httpd.apache.org/docs/2.0/mod....html#xbithack is a bit coy[1] about what happens on the Win32 platform, although it's obvious from reading the module's source code. http://search.cpan.org/~rkobes/Apach.../WinBitHack.pm might also be of interest in that regard. But maybe you didn't want to use xbithack anyway. You don't really give us much to go on. [1] which is nothing new, as this archived bug report from 2000 shows: http://archive.apache.org/gnats/6610 |
|
|||
|
On Mon, 10 Jul 2006 07:32:44 -0400, "Jack Gostl"
<gostl@argoscomp.com> wrote: >Anyone out there using the Windows version of Apache? I can't get server >side includes to work and could use some advice. A common error is to insert a space between the start of the comment tag and the SSI directive, because "it looks better". Wrong: <!-- #include Right: <!--#include And of course SSI has to be activated in httpd.conf: LoadModule include_module modules/mod_include.so (by default it is active) >Thanks YW, HTH -- ( Kees ) c[_] He has Van Gogh's ear for music. (#128) |