Skip to content

Instantly share code, notes, and snippets.

@rachelbaker
Created October 20, 2011 19:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rachelbaker/1302125 to your computer and use it in GitHub Desktop.
Save rachelbaker/1302125 to your computer and use it in GitHub Desktop.
Rackspace Cloud .htaccess file fixes for WordPress
# PHP Site Settings for Rackspace Cloud Sites
php_value max_execution_time 3600
php_value upload_max_filesize 100M
php_value post_max_size 220M
php_value memory_limit 256M
# End PHP Site Settings
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
@codearachnid
Copy link

I have found that max_execution_time is limited to 60 - have you found a way to work around this for cloud sites?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment