.htaccess for Rackspace Cloud Sites
Posted: Fri Oct 28, 2011 12:27 am
If you want to run CMS Made Simple on Rackspace Cloud Sites, here are some values that you should append to the beginning of your .htaccess file that will help you pass most of the Installation tests.
The test to see if the session save path is writable will fail on Rackspace Cloud Sites, because they use some kind of virtual session that isn't file based. Details here:
http://www.rackspace.com/knowledge_cent ... t_working
Adding the following lines in your .htaccess file will make it pass the CMSMS install test. But, it may be better to use the default Rackspace settings. It's up to you.
*Note* be sure to change the save path to the absolute path to your web directory.
Code: Select all
# Change PHP memory limit, time limit,
# max post size, and max upload file size
php_value memory_limit 128M
php_value max_execution_time 60
php_value upload_max_filesize 32M
php_value post_max_size 32M
http://www.rackspace.com/knowledge_cent ... t_working
Adding the following lines in your .htaccess file will make it pass the CMSMS install test. But, it may be better to use the default Rackspace settings. It's up to you.
*Note* be sure to change the save path to the absolute path to your web directory.
Code: Select all
php_value session.gc_probability 1
php_value session.gc_divisor 100
php_value session.gc_maxlifetime 3600
php_value session.save_path /mnt/stor1-wc1-dfw1/123456/www.domain.com/web/sessions