I bought a new lap-top and installed apache... Its working, including the vhosts.
I can not make SSI work (for include).
I have apache running on my PC (with SSI working) and I have been comparing the config files on the two. For the life me I can not find where I may have goofed.
include module loaded and enabled (config file)
Added "Includes" on all directory Options
Added "AddType text/html" & "AddHandler server-parsed" for .shml .txt .inc
(I use txt and inc extensionsion for different type of files to be included)
No error messages in the apache error log.
If anyone can guess what I am doing wrong, or failing to do, I would appreciate the input.
Did you add Options Includes in the right place? I know I've made that mistake. I only have Apace 1.3 here. In httpd.conf there's first this bit:
# First, we configure the "default" to be a very restrictive set of
Right below is this. Here's where you should add it, not above. At least if your document root is somewhere else than ...Apache/htdocs .
# This should be changed to whatever you set DocumentRoot to.
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
Options Indexes FollowSymLinks MultiViews Includes
Do you mean it just didn't work for .html before but you could use .shtml? Cause you already has AddHandler for .shtml.
I don't think you should comment out all AddType directives or you'll *beep* up Mime types.
I have this.
AddType text/html .shtml
AddHandler server-parsed .shtml .html .inc
Come on! That isn't a bad word in this context!
I did *not* say the F word. I said the S word. Like in a S-driver.
Dumb board - go beeping on me.
I think your *beep* server is *beep* *beep* *beep*!
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)