SSI help.

Golden Groudon

hi i'm golden groudon
  • 681
    Posts
    21
    Years
    Does anybody know how to turn SSI on on Apache sever for windows? I don't wanna go over all my pages when I add a link.... :classic:
     
    Just look in your apache conf file for this and make sure your's is the same:
    httpd.conf said:
    #
    # AddType allows you to tweak mime.types without actually editing it, or to
    # make certain files to be certain types.
    #
    # For example, the PHP 3.x module (not part of the Apache distribution - see
    # https://www.php.net) will typically use:
    #
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

    AddType application/x-tar .tgz

    #
    # AddHandler allows you to map certain file extensions to "handlers",
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action command (see below)
    #
    # If you want to use server side includes, or CGI outside
    # ScriptAliased directories, uncomment the following lines.
    #
    # To use CGI scripts:
    #
    AddHandler cgi-script .cgi .pl

    #
    # To use server-parsed HTML files (.html added by PPN)
    #
    AddType text/html .shtml
    AddHandler server-parsed .shtml .html


    #
    # Uncomment the following line to enable Apache's send-asis HTTP file
    # feature
    #
    #AddHandler send-as-is asis

    #
    # If you wish to use server-parsed imagemap files, use
    #
    AddHandler imap-file map

    #
    # To enable type maps, you might want to use
    #
    #AddHandler type-map var

    </IfModule>
    # End of document types.
    after you make any needed changes, restart apache.
     
    Last edited:
    Sorry if this is a old topic but where are you suppose to put it in the Config?
     
    Back
    Top