Re: SSI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Kees Nuyt! It’s exciting to have help.

But, I’m not there yet. I made the change to DirectoryIndex and I no longer get the directory and I do get my page. But I do not get the html file loaded into the home.shtml file. Here are all the changes I’ve made (that I’m aware of anyway!) plus the surrounding directives. Can you make any sense of this. I truly appreciate your help.

<IfModule dir_module>
    DirectoryIndex home.shtml index.shtml
</IfModule>

<Directory "/Library/WebServer/Documents">
  
    Options FollowSymLinks Multiviews Includes
    MultiviewsMatch Any
   
    AllowOverride None

    Require all granted
</Directory>
<IfModule mime_module>
   
    TypesConfig /private/etc/apache2/mime.types
  
    AddType application/x-compress .Z                                   
    AddType application/x-gzip .gz .tgz   

    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
</IfModule>                              





On Mar 12, 2016, at 12:21 AM, Kees Nuyt <k.nuyt@xxxxxxxxx> wrote:

On Fri, 11 Mar 2016 22:24:56 -0800, you wrote:

Can't get SSI working. I may have munched something inadvertently.
Using Apache 2.4 on my MacBook
Put "Options +Includes" in <directory "/Library/WebServer/Documents"></directory>
Took out the #'s before:
  AddType text/html .shtml
  AddOutputFilter INCLUDES .shtml
Put <!--#include virtual="mainmenu.html" --> in my file home.shtml
But! mainmenu fails to load.
I just get:

Index of /

[ICO] Name Last modified Size Description
[DIR] about/ 2014-12-10 00:53 -  
[DIR] autism/ 2016-03-09 20:25 -  
[DIR] babylonian_astronomy/ 2016-03-11 09:58 -
yahoo-yadha

What could be broken?

I have little hair left as it is. If you could help me I'd be vey appreciative.

What's the result of http://your.site/home.shtml ?
Is home.shtml in the list of files in DirectoryIndex ?

-- 
Regards,

Kees Nuyt


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux