Using other systems together with Silverstripe
Silverstripe uses mod_rewrite to catch all calls to your website in the form of urls and route them to sapphire/main.php. This behavior is implemented with the rules in your .htaccess file in the root of your site. This can become a problem when you want to use other systems together with Silverstripe because you simply can not reach the url of those other systems.
An example: if your want to use phplists as a newsletter system, it is usually installed under yoursite.com/lists. However, under normal circumstances you can not have your visitors reach yoursite.com/lists when using Silverstripe because it is rerouted to sapphire/main.php?url=lists.
This behavior can be changed by adding a rule to your .htaccess file. I use this one:
(This snippet has to appear before the RewriteRule that routes everything to sapphire/main.php otherwise it wont work.)
What does this do? If someone tries to access an address on your site in a folder starting with an underscore (_) do not apply rules to it (and therefore do not route it to sapphire/main.php).
What can you do with it? If you create a folder in your site starting with an underscore (for example: _lists) it will be ignored by silverstripe. So if you install phplists there (or any other system or a static html/flash site) you can simply use it without problem along with Silverstripe in the same site.
I have tested this with Silverstripe 2.3+ and 2.4 Beta1
About the Author
Name: Yuri Goul