Results 1 to 4 of 4

Thread: How to enable SSI on load server

  1. #1
    Join Date
    May 2009
    Posts
    41

    How to enable SSI on load server

    I am having Apache Server with me and i am trying to access my server through a webhost and i am using webmin but this account but this account is restricted with the apache settings.Can anyone tell me how to enable server side includes on some of the selected files.

  2. #2
    Join Date
    Jan 2009
    Posts
    150

    Re: Steps to enable SSI on load server

    To enable SSI on load server try to follow the below steps:-
    1. First install the Apache2 httpd server if already install then use this codesudo apt-get install apache2
    2. After that you need to symlink for which you need to write the following code

      Code:
      sudo ln -s /etc/apache2/mods-available/include.load etc/apache2/mods-enabled
    3. Now open /sites-available/default file and add the text which are BOLD.

      Code:
      Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews +Includes
      AllowOverride None
      Order allow,deny
      allow from all
      # This directive allows us to have apache2's default start page
      # in /apache2-default/, but still have / go to the right place
      #RedirectMatch ^/$ /apache2-default/
      AddType text/html .shtml
      AddOutputFilter INCLUDES .shtml
      </Directory>
    4. Now restart Apache2 and create a SSI test file and save it in the directory /var/www/.

  3. #3
    Join Date
    Jan 2009
    Posts
    141

    Re: How to enable SSI on load server

    There is one more method of enabling SSI on load server is by editing the httpd.conf file and you can create a symlink.

    Code:
    cd /etc/apache2/mods-enabled 
    sudo ln -s /etc/apache2/mods-available/include.load

  4. #4
    Join Date
    Apr 2008
    Posts
    1,948

    Re: How to enable SSI on load server

    It might also happen that your web host haven't enable mod_include in that case the server won't be able to recognize handler 'server-parsed' in config and you can will get an error in a logfile when your server is booting.

Similar Threads

  1. How enable L2TP VPN for windows 2003 server?
    By moh3en in forum Windows Server Help
    Replies: 3
    Last Post: 11-08-2010, 12:44 AM
  2. Direct linking and server load
    By Trini Alvarado in forum Technology & Internet
    Replies: 5
    Last Post: 19-04-2010, 01:11 PM
  3. Enable Auditing Server 2008
    By aconti in forum Active Directory
    Replies: 4
    Last Post: 21-10-2009, 11:23 AM
  4. How do we enable the Automation server that can't create object
    By Rock Villa in forum Software Development
    Replies: 3
    Last Post: 21-09-2009, 03:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,884,908.62827 seconds with 17 queries