Site Panel Help | User Panel Help | Panel Demo's | Search | Help |
Categories· New Customer FAQs · FAQ Home |
XML-File<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <!-- XML-Output by phpMyFAQ 1.3.8 --> <phpmyfaq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:NamespaceSchemaLocation="http://www.phpmyfaq.de/xml/faqschema.xsd"> <article id="51"> <language>en</language> <category>SSI - shtml</category> <keywords></keywords> <theme>SSI doesn\'t work for subdomain</theme> <content xmlns="http://www.w3.org/TR/REC-html40">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.)</content> <author>EchoEcho Support</author> <date>12.07.2009, 21:17</date> </article> </phpmyfaq> |
Copyright © EchoEchoPlus Hosting |