Site Panel Help User Panel Help Panel Demo's Search Help

Categories

· Show all categories

· New Customer FAQs
· E-Mail
· FTP - File Transfers
· Domains
· SSH and Telnet
· Scripting Languages
  · SSI - shtml
· Password Protection
· MySQL
· Stats
· Power Tools

· FAQ Home

· EchoEcho+ Support

SSI - shtml: SSI doesn't work for subdomain
If you create a subdomain, foo.example.com and point it to a folder on your site, /var/www/html/bar/ you can't execute SSI in that folder before enabling it.

To enable SSI on subdomains add a .htaccess file with this content to the folder:
-----------------------------------
Options +Includes
-----------------------------------

Or, even better, with this content:
-----------------------------------
Options +ExecCGI +Includes
AddHandler cgi-script .cgi .pl
-----------------------------------
The latter will enable both SSI and cgi/perl for the folder.


PS: A .htaccess file is a plain text file with the name .htaccess - it shoul dbe transferred to the site in plain ASCII or TEXT mode when you transfer it with an FTP program. (Not binary mode).

(If you can't save a file on a windows machine with the name .htaccess, you can save it as temp.txt, then upload and rename it.)

Last update: 12.07.2009, 21:17
Author: EchoEcho Support

printer-friendly version Send to a friend
Show this as PDF file export as XML-File

Average rating: 0 from 5 (0 Votes )

Please rate this entry:
completely
useless

1

2

3

4

5
most
valuable
You cannot comment on this entry | Content Overview: SSI - shtml
Copyright © EchoEchoPlus Hosting