Apr 19, 2009 This bash shell script searches in a directory you specify for any files containing a string and replaces that string with another string. www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html
Shell Scripts for Dreamhost. Example shell scripts (bash or sh) that automate and easyate tasks from within the dreamhost ssh env
bash power prompt PS1 This amazing bash linux prompt does more than meets . I also rely on this heavily from within shell scripts I write to access all
Jul 4, 2008 Encrypted WordPress / phpBB Backups » Bash Shell Script for Encrypted WordPress Backups. Bash Shell Script for Encrypted WordPress Backups
Create a customized bash shell environment with this .bash_profile when using AskApache.com May 2008 DreamHost Site of The Month ·Shell Scripts for
mysnapshot.sh shell script. #!/bin/bash # # GNU Free Documentation License 1.2 # 06-11-08 - AskApache (www.askapache.com) # # # .mysnapshot # |-- hourly.0
Apr 19, 2009 Search and Replace bash shell script. FREE THOUGHT · FREE SOFTWARE · FREE WORLD. ← Search And Replace shell script helpful for Upgrades
Sep 30, 2008 I created a simple Bash shell-script to download the javascript files. All you need to do is modify the variables to save to your directory www.askapache.com/javascript/serve-external-javascript-files-locally-for-increased-speed.html
phpBB Backups Encrypted WordPress and phpBB Site Backup Shell Script Search And Replace shell script helpful for Upgrades Bash shell script to find
Bash Shell Script. This simple shell script is what I use, it downloads 4 different feedcount images with different background/foreground colors and with
You may however be able to do stuff like /bin/bash -c "cd . Writing shell scripts and serving them on your web server works by renaming the file.sh to
Dec 16, 2007 Tags:Apache, askapache, bash, curl, DreamHost, filesystem, GET, Hacking, Linux, Nice, PHP, Port, post, Python, ram, Scripts, Shell,
dreamhostps migration shell script. #!/bin/bash # Version 1.0 by AskApache 5/29/2008 shopt -s extglob renice 19 $$ OLDSERVER=208.113.183.103
On-Demand WordPress MySQL database Backup Shell Script for DreamHost. bin/bash DATE1=`date | awk '{print $3}'` DATE2=`date | awk '{print $2}'`
Nov 22, 2008 I just hacked together a bash shell script that downloaded each version, unpacked it, and also installed/built them, all autopilot baby. www.askapache.com/;htaccess-plugin-blocks-spam-hackers-and-password-protects-blog.html
For those of you power users and server admins that use Bash, ksh, csh, vanilla sh, etc.., or if you are just passionate about shell scripting,
The Shell Script. Or Download #!/bin/sh ### ### ASKAPACHE ENVIRONMENT . PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
The Shell Script. site-backup.sh #!/bin/bash # SiteBack Version 3.3, 2008-12-17 # GNU Free Documentation License 1.2 # 12-17-08 - AskApache
I also hacked together a little shell script that you may wish to hack to your needs. Its actually pretty sweet if you can figure it out. #!/bin/bash -l set
AskApache Bash_Profile Shell Script. By AskApache | Published 08/23/2009. askapache-bash-profile.sh. AskApache Bash_Profile Shell Script
This is useful in disallowing direct access to interpreters like shell scripts, cgi scripts, and other interpreters. Only works this way if you have a
Mar 20, 2007 Create a shell script called urch.sh.. this will be executed every 1/day or . Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Automated Folder Backup Shell-Script PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
PHP Anti-Spam captcha example script to secure online forms and scripts from spammers and Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Here is an updated shell script that fetches the latest ga.js file from google and places it in Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Apr 8, 2009 Finally, I provide a simple shell script that prevents anyone from logging . bin/bash # Author:http://www.askapache.com # Version:1.2
The programming languages that I use are php, unix shell scripts, perl, python, ocaml, Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Setting charset information in .htaccess ·View Forum – Shell Scripts ·Some Basic Defaults Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Variables may also be passed from the environment of the shell which started When suexec is used to launch CGI scripts, the environment will be . PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
You may want to write a netcat-based script as a wrapper that reads a query and sets up PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt Search And Replace shell script helpful for Upgrades
HOWTO:Uninstall CPANEL over SSHCrazy POWERFUL Bash Prompt » .. modify my php 5 install shell script, and run it through screen or as an at/cron job to
If the existing files you wish to have handled by your script have a common to secure these files and other interpreters like perl fastCGI bash csh etc
You will have a shell wrapper script something like this:.. PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
endif --><script src="http://static.askapache.com/j/apache-0780.js".. PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Securing directories:Remove the ability to execute scripts . PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
This is nice for shell scripts where you can add this to the top of the script to nicify . Runs 'bash'as a best-effort program with highest priority.
I can code in plenty of languages (bash, lua, windows .bat and vbs, ocaml, big fan of all things shell) and can work my way through C and .. Satisfy, ScoreBoardFile, Script, ScriptAlias, ScriptAliasMatch, ScriptInterpreterSource,
Shell Script for Firefox tmpfs. #!/bin/bash ### Bind temporary directories to /dev/shm ### # I do this instead of mounting tmpfs on the # # directories,
Add this to your .bash_profile or other shell startup script, PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Many webmasters use CGI scripts to do simple redirects based on the time of day. Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt www.askapache.com/;using-time_hour-and-time_min-rewritecond-in-htaccess-2.html
Apr 15, 2010 .xrdf AddType text/plain .ini .sh .bsh .bash .awk .nawk .gawk .csh .var .c .in .. Exec:Allows execution of a local system binary or script. .. file shell attacvk #SecFilterSelective HTTP_Content-Type "image/.
Note:If the script is terminated with exit(), auto-append will not PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
Jan 16, 2008 This shell script analyzes a specific domains apache logs, both error and . Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt Automated Folder Backup Shell-Script ·Shell Scripts for Dreamhost
bash-3.00$ telnet www.webperformance.org 80 Trying 24.60.234.27. Performance of PHP scripts can be improved by using a PHP caching product such as Turck
Some wiki and php scripts have difficulity with a URL with &because it will split Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt COMPUTER SECURITY TOOLBOX ·Shell Scripts for Dreamhost
Imagine a HUGE brick wall protecting your frail .php scripts from the . PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt a command prompt or shell in the same directory as the .aahtpasswd file
These contain the PEM-encoded X.509 Certificates of server and client for the current HTTPS connection and can be used by CGI scripts for deeper Certificate
[NC] # Calls directly to the feed scripts that include 'withcomments' PHP Session File Hacks ·Debugging Tools for Windows ·Crazy POWERFUL Bash Prompt
#### No https except to wp-admin -
# If the request is empty ( implies fopen or normal file access by a php script )
RewriteCond %{THE_REQUEST} ^$ [OR]
# OR if the request if for wp-admin or wp-login.php
RewriteCond %{REQUEST_URI} ^/(wp-admin|wp-login\.php).*$ [NC,OR]
# OR if the Referer is https
RewriteCond %{HTTP_REFERER} ^https://www.askapache.com/.*$ [NC]
# THEN skip the following rule, basically all this does is force https or badhost to be redirected
# BUT because of the above 3 rewritecond's, this won't break poorly written admin scripts
RewriteRule .* - [S=1]
RewriteCond %{HTTPS} =on [OR]
RewriteCond %{HTTP_HOST} !^www\.askapache\.com$ [NC]
RewriteRule .* http://www.askapache.com%{REQUEST_URI} [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(wp-admin/.*|wp-login\.php.*)\ HTTP/ [NC]
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Tags: AddHandler, Apache, Backups, Block IP, Cache-Control, cheatsheets, developers, errordocument, etag, htaccess tricks, http cookie, indexes, Mod_Security, open source, password protection, real world, rewritecond, rewriterule, Source Code
Posted in Apache, Apache Modules, Cache, DreamHost, Featured, Hacking, Htaccess, Linux Unix BSD, Mod_Rewrite, SEO, Security, Server Administration, Web Hosting, Webmaster | Published on 04/17/2010 |4 Comments »