DreamHost - Web Host Articles (2)

On-Demand MySQL Backup Shell Script

On-Demand WordPress MySQL database Backup Shell Script for DreamHost

Continue Reading
Thursday, May 31, 2007 / 3 comments

Apache Variable Fun in htaccess

Server and Environment Variables are used by The Apache HTTP Server by provides a mechanism for storing information. This information can be used to control various operations such as logging or access control.

Continue Reading
Tuesday, April 10, 2007 / 1 comment

htaccess HTTPS / SSL Tips, Tricks, and Hacks

Apache has the best SSL/HTTPS support and can be controlled by the httpd.conf file or other HTTPD server configuration file. This htaccess tutorial has htaccess example code to make it easy to secure and use HTTPS and SSL with Apache.

Continue Reading
Tuesday, April 10, 2007 / 1 comment

Security with Apache htaccess Tutorial

Apache Security tips and tricks for securing Apache Web Servers using htaccess, httpd.conf, and other built-in techniques to thwart attackers. This really should be required reading for any Apache admin or user because these little tricks are so easy to do.

Continue Reading
Tuesday, April 10, 2007 / 1 comment

Apache Authentication in htaccess

How to password-protect, Allow or Deny a visitor based on a condition. If you are having trouble getting htaccess-based password protection to work see: Troubleshooting htaccess Authentication: Getting it to work


Continue Reading
Tuesday, April 10, 2007 / 2 comments

Speed up your site with Caching and cache-control

Caching with .htaccess and Apache will take your website and your web skills to the next level. This is some technical and advanced methods condensed to simple htaccess code examples for you.

Continue Reading
Tuesday, April 10, 2007 / 3 comments

htaccess rewrite, Mod_rewrite tricks

Mod_Rewrite Tips and Tricks is as glamorous as it sounds! mod_rewrite is just possibly one of the most useful Apache modules and features. The ability to rewrite requests internally as well as externally is extremely powerful.

Continue Reading
Tuesday, April 10, 2007 / 9 comments

SEO Redirects without mod_rewrite

Web Professionals use mod_rewrite to issue 301 and 302 Redirects for Search Engines. Sometimes you may not have mod_rewrite.c or you want an alternative redirect method. Using mod_alias RedirectMatch you can use REGEX in Redirect commands!

Continue Reading
Tuesday, April 10, 2007 / 3 comments

PHP htaccess tips and tricks

Htaccess php tips and tricks for the Apache HTTPD Web Server, mostly these tips show you how to run customized versions with customized php.ini files, I require custom php.ini files because they are so useful!

Continue Reading
Tuesday, April 10, 2007 / 1 comment

Manipulating HTTP Headers with htaccess

Apache .htaccess and httpd.conf have the power to send and manipulate HTTP Header Requests like sending P3P privacy headers, Content-Type: UTF-8, Content-Language, etc. The power is immense and you can do some really cool stuff with HTTP Headers!

Continue Reading
Tuesday, April 10, 2007 / 7 comments

htaccess Tricks for Webmasters

Some of my favorite htaccess examples from some of my favorite .htaccess tutorials. These cut-and-paste ready htaccess code snippets are very useful for website and server administrators.

Continue Reading
Tuesday, April 10, 2007 / 2 comments

.htaccess Tutorials, Sample .htaccess files

Apache .htaccess file, tips, tricks, and sample code including mod_rewrite, SSL, headers, and cache…

Continue Reading
Tuesday, April 10, 2007 / 14 comments

Mixed SSL Content Warning Secure Fixed

I used to run into the problem of having warning messages pop up when I accessed a page with secure and non-secure information and finally I found something that let me post non-ssl encrypted content on an ssl encrypted page and no warning messages will pop up!

Continue Reading
Sunday, April 8, 2007 / 1 comment

htaccess rewrite, htaccess

Comprehensive .htaccess example file with advanced examples in 1 htaccess sample skeleton .htaccess file with the very best apache htaccess examples… Updated frequently based on detailed info from the Apache htaccess tutorial.

Continue Reading
Tuesday, April 3, 2007 / 6 comments

Using FilesMatch and Files in htaccess

Files and FilesMatch to target multiple files and using Regular expressions using .htaccess files on Apache.
NOTE: FilesMatch should be used instead of Files when dealing with multiple files.

Adding UTF-8 content-type and and en-US language headers to files with extensions htm, html, css, js, and php [...]

Continue Reading
Tuesday, April 3, 2007 / 1 comment

Replacing ‘%23′ with ‘#’ in incoming links

I had some urls show up in my google sitemaps for one of my sites with “404 Not found” errors for a bunch of urls that had “%23comment-155″ looking urls instead of “#comment-155″

Continue Reading
Saturday, March 24, 2007 / comments

27 Request Methods for Apache rewritecond htaccess

Have you ever wondered how many REQUEST_METHODS you could use in Apache?

Scan Your Site to see what Request Methods are currently allowed, and fix potential security holes.
Intro
The Request Method, as supplied in the REQUEST_METHOD meta-variable, identifies the processing method to be applied by the script [...]

Continue Reading
Tuesday, March 6, 2007 / 2 comments

301 Redirect with mod_rewrite or RedirectMatch

301 Redirects using Apache mod_rewrite or RedirectMatch in .htaccess or httpd.conf

Continue Reading
Friday, March 2, 2007 / comments

Instruct Search Engines to come back to site after you finish working on it

Nifty SEO tip to get Search Engine Bots to check your site every hour until you finish working on it and tell them you are finished.

Continue Reading
Wednesday, February 28, 2007 / 2 comments

Control htaccess Basic Authentication with PHP and mod_rewrite

Control htaccess Basic Authentication with PHP and mod_rewrite

Continue Reading
Monday, February 26, 2007 / 2 comments

Rewrite underscores to hyphens for SEO URL

Replace underscores in URLs with hyphens using Apache .htaccess.

Continue Reading
Thursday, February 22, 2007 / 2 comments

Custom PHP.ini with FastCGI on DreamHost

I’m really sorry but I had to disable the sites you had running under
user $USER because that was the only way I could keep the associated
processes from restarting themselves and making the server unstable.

Please do not run these sites with a persistent php.cgi process with a
php.ini file as an argument.

Continue Reading
Thursday, February 22, 2007 / comments

DreamHost Server IP Address List

A list of all DreamHost Servers and corresponding IP address. The dreamhost.com DNS zone is currently having troubles, so most hostnames within this zone are not resolving.

Continue Reading
Thursday, February 22, 2007 / 2 comments

Sending POST form data with php CURL

CURL Guide for sending POST data form request with PHP and CURL

Continue Reading
Wednesday, February 21, 2007 / 6 comments

Best DreamHost Discount Promo Code Ever

GET the maximum discount allowed on DreamHost with this special Promo Code.

Continue Reading
Saturday, February 17, 2007 / comments

Serve Alternate Content based on Time

TIME_DAY Time RewriteCondTime-dependant rewriting uses mod_rewrite and apache server time variables to display different files depending on the time, while the URL stays the same. An often requested implementation of this is to display a different home page or image depending on if its morning, noon, or night.

Continue Reading
Sunday, February 11, 2007 / comments

htaccess directives available on Powweb

List of the directives available to Powweb users for use in htaccess files

Continue Reading
Wednesday, February 7, 2007 / comments

Security Enhancing with htaccess

Securing Subdirectories using unique apache htaccess solutions.

Continue Reading
Wednesday, February 7, 2007 / comments

Fight Blog Spam with Apache

Fighting Blog Spam with Apache htaccess and other methods.

Continue Reading
Wednesday, January 31, 2007 / 1 comment

Shell Scripts for Dreamhost

Example shell scripts (bash or sh) that automate and easyate tasks from within the dreamhost ssh env

Continue Reading
Tuesday, January 16, 2007 / comments
Page: 1 2 3

Search

Apache Software WebRing
Prev | Ring Hub | Join | Next

License and Disclaimer | Terms of Service | Privacy Policy |
© AskApache | International Ambitions | Glossary

Webmaster | Valid XHTML | Valid CSS