diff options
| author | 2010-05-18 00:11:19 -0400 | |
|---|---|---|
| committer | 2010-05-18 00:11:19 -0400 | |
| commit | 3fe367b2d7d9590070aedd996c10cc8c61ea2e84 (patch) | |
| tree | 6562d7347587aa4c4913cdca533f306a543329e7 | |
| parent | Rsync changes to not send pyc and a warning box that the URL will soon change. (diff) | |
| download | MovieStatistics-3fe367b2d7d9590070aedd996c10cc8c61ea2e84.tar.xz MovieStatistics-3fe367b2d7d9590070aedd996c10cc8c61ea2e84.zip | |
Updated for new server
| -rw-r--r-- | .htaccess | 5 | ||||
| -rw-r--r-- | .htpasswd | 2 | ||||
| -rw-r--r-- | index.php | 3 | ||||
| -rwxr-xr-x | upload.sh | 4 |
4 files changed, 4 insertions, 10 deletions
diff --git a/.htaccess b/.htaccess deleted file mode 100644 index d5f6f0d..0000000 --- a/.htaccess +++ /dev/null @@ -1,5 +0,0 @@ -AuthName "Restricted Area" -AuthType Basic -AuthUserFile /home/zx2c4/anyclip.zx2c4.com/MovieStatistics/.htpasswd -AuthGroupFile /dev/null -require valid-user diff --git a/.htpasswd b/.htpasswd deleted file mode 100644 index 70f0a4a..0000000 --- a/.htpasswd +++ /dev/null @@ -1,2 +0,0 @@ -anyclip:aAz0MnkwuYU52 - @@ -45,7 +45,7 @@ if (!$running && $_GET["action"] == "start" && $_POST["forreal"] == "yeah") { file_put_contents("input.txt", $_POST['list']); file_put_contents("totalLines", (string)count(split("\n", trim($_POST['list'])))); @unlink("MovieStats.csv"); - runInBackground("/home/zx2c4/opt/bin/python MovieSearchStats.py input.txt MovieStats.csv '".$_POST['email']."'"); + runInBackground("/usr/bin/python MovieSearchStats.py input.txt MovieStats.csv '".$_POST['email']."'"); $running = true; } ?> @@ -96,6 +96,5 @@ Jaws <input type="submit" value="Start"> </form> <?php endif; ?> -<div style="background: #DDAAAA; width:550px; text-align: justify; font-weight: bold; padding: 10px; border: 3px black dotted;"><i>Warning</i>: Now that AnyClip has the capability and resources to host an AnyClip Labs server, all applications running at anyclip.zx2c4.com will be shutting down and migrated to AnyClip-owned&operated servers at the earliest convienence. This URL will change.</div> </body> </html> @@ -1 +1,3 @@ -rsync -avz --exclude=*.pyc --exclude=.git --exclude=upload.sh --exclude=.gitignore --delete-excluded . zx2c4.com:anyclip.zx2c4.com/MovieStatistics +#!/bin/sh +shopt -s dotglob +rsync -rlptDvz --exclude=*.pyc --exclude=.git --exclude=upload.sh --exclude=.gitignore --delete-excluded * 184.75.34.82:/var/www/localhost/htdocs/MovieStatistics/ |
