Bluehost.com Web Hosting $6.95

Apache for Windows

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-10-2006
Jack Gostl
 
Posts: n/a
Default Apache for Windows

Anyone out there using the Windows version of Apache? I can't get server
side includes to work and could use some advice.

Thanks


  #2 (permalink)  
Old 07-10-2006
Phil Frisbie, Jr.
 
Posts: n/a
Default Re: Apache for Windows

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
  #3 (permalink)  
Old 07-10-2006
Alan J. Flavell
 
Posts: n/a
Default SSI, was Re: Apache for Windows

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
  #4 (permalink)  
Old 07-10-2006
Kees Nuyt
 
Posts: n/a
Default Re: Apache for Windows

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)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0