Browsing the archives for the Cloud Sites tag

Cloud Sites Timeout on CMS Install

Load balancers usually have a limit on how long a TCP connection will remain open to a web server before timing out on the connection. With Cloud Sites in particular, the load balancer will time out on an HTTP response if the PHP code does not send output to the browser for 30 seconds. After […]

No Comments Posted in Uncategorized
Tagged , , , , , ,
Unzipping files through php

The following script will unzip all files within the current directory and then print its results to the browser. To unzip a file, upload your .zip files and then upload this php file to the same directory and then visit this page in your browser. You could for example save this file as unzip.php and […]

No Comments Posted in php
Tagged , , ,
Allow or Deny by IP in IIS Cloud Sites

The steps: Add the following entry into your web.config file and then place a SecurityHttpModule.cs file within a folder named App_Code with the code given. Replace with the IP address that you would like to allow for your domain. Any questions? Feel free to ask! But be sure to be specific so I can […]

No Comments Posted in ASP.NET
Tagged , ,
Changing default FTP permissions in Cloud Sites

Setting the default permissions for newly uploaded files is often useful as a convenience, especially when having multiple FTP users within the same site as if all files are owned by the same user, a recursive chmod can be used on the content folder. To allow all FTP users for your site to be able […]

No Comments Posted in FTP
Tagged , ,
Sample ASP.NET code that works in Cloud Sites

Uploading the following 3 files will result in a bare bones ASP.NET site that functions within Rackspace Cloud Sites. It would be possible to trim these down further, especially the web.config, however this is what I came up with through Visual Studio with minimal editing to the resultant files. web.config: 1 2 3 4 5 […]

No Comments Posted in ASP.NET
Tagged , ,