Search For server

FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Search Results

AskApache Crazy Advanced Web Development

Crazy Advanced Web Development for server admins, WordPress bloggers, programmers, and hackers with topics and tools for Htaccess Rewrites, Linux and bash,

Security with Apache htaccess Tutorial - AskApache

You will almost never have to do this unless you are working with your config file for the whole server. Anyway its easy to test if you need this.

The Ultimate Htaccess

Htaccess allows for decentralized management of Web Server configurations which makes life very easy for web hosting companies and especially their savvy

Real-Life Htaccess Files from My Server - AskApache

Apr 15, 2010 Real-World Htaccess Files gathered from hundreds of .htaccess files, Advanced, Unusual, and Awesome Mod_Rewrite tricks, .htaccess Caching,

htaccess HTTPS / SSL Tips, Tricks, and Hacks

SSL and HTTPS on Apache HTTP Server has great httpd.conf examples and useful htaccess guides to stay secure and working. You may want to redirect to HTTPS

Apache Web Server Speed Configuration Hacks - AskApache

Apache server performance can be improved by adding additional hardware resources such as RAM, faster CPU, etc.

Optimize a Website for Speed, Security, and Easy Management

Knowing the why and how behind the operation of a Web Server allows us to optimize that operation. For this example we will be creating the website

Speed Tips Turn On Compression

If you get an 500 internal server error means that your server dont have mod_expireso and mod_headersso loaded Edit your httpdconf and add these lines

HTTP Status Codes andhtaccess ErrorDocuments

So I searched and found my answer in the Apache HTTP Server source code. Once I had the exact HTTP Status Codes and resulting Error Documents sent by Apache

htaccess Tricks for Webmasters

Turns off the address part of your Server Signature in Apache generated Error When a user requests a .gif file (image/gif) the server instead of serving

PHP and AJAX shell console - AskApache

Ever wanted to execute commands on your server through php to mimick a shell login? Now you can. I'm calling this file (see below) shell.php and it allows

Setting charset in htaccess - AskApache

If the server is set up to allow users or administrators to change Setting the server's default encoding is beyond the scope of this article.

Speed Up Sites with htaccess Caching - AskApache

To find out if the modules are enabled in your server, find the httpd binary and . This allows an origin server to state that the specified parts of the

DreamHost Server IP Address List - AskApache

Feb 22, 2007 A list of all DreamHost Servers and corresponding IP address.

View Detailed HTTP Headers

Jan 5, 2008 Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and whether

Speed Up Google Analytics, use local ga.js - www.askapache.com

If you request the __utm.gif file on your own server, then Google Without this changes just copied ga.js will not work correctly on your local server.

Serve Alternate Content based on Time - AskApache

Jul 10, 2007 Apache mod_rewrite code to serve alternate versions of a file depending on the server time - week, month, hour, year, second.

Request Method Security Scanner

If the RequestURI is an asterisk* the OPTIONS request is intended to apply to the server in general rather than to a specific resource Since a server's

HOWTO:Uninstall CPANEL over SSH

Uninstall CPANEL completely in 10 minutes - For advanced shell users and advanced system admins ONLY.

About AskApache

AskApache was chosen to show and pay respect to the contributors of the Apache Web Server. Literally it means to ask Apache when facing a problem,

Apache Variable Fun in htaccess - AskApache

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

AskApache Password Protection, For WordPress - AskApache

I have also “500 internal server error” after activate askapache plugin and try to rectify but I could not do that. I'm follow your instruction…

Speed Tips:Turn Off ETags - AskApache

Dec 12, 2006 Later, if the browser has to validate a component, it uses the If-None-Match header to pass the ETag back to the origin server.

Instruct Search Engines to come back to site after you finish

You should configure your server to return a status of 503 (network unavailable) rather than 200 (successful). That lets Googlebot know to try the pages

Log all .htaccess/.htpasswd logins

case HTTP_PROXY_AUTHENTICATION_REQUIRED:case HTTP_UNAUTHORIZED:return("<p>This server could not verify that you\n""are authorized to access the

Upgrading to DreamHost Private Servers - AskApache

I've recently relocated to the DreamHost private server setup, not for any reason other than its such a cool offer that I had to take advantage of it to

Apache SSL in htaccess examples - AskApache

Notice that this directive can be used both in per-server and per-directory In per-server context it applies to the standard SSL handshake when a

Advanced WordPress 404.php - AskApache

'401'=>array('Authorization Required', 'This server could not verify that you are authorized to access the document requested. Either you supplied the wrong

htaccess rewrite, htaccess - AskApache

imap-file:Parse as an imagemap rule file (mod_imap) server-info:Get server config info (mod_info) server-status:Get server status report (mod_status)

Custom PHP.ini tips and tricks - www.askapache.com

For the server module versions of PHP, this happens only once when the .. At first I relied heavily on a custom php.ini being available on the server,

Htaccess SetEnvIf and SetEnvIfNoCase Examples - AskApache

This can be useful if your server doesn't automatically do a reverse lookup on a remote address, so this way you can tell if the request was internal/from

htpasswd file Generator

Web password files such as those managed by htpasswd should not be within the Web server's URI space that is they should not be fetchable with a browser

Mirroring an Entire Site using Rsync over SSH - www.askapache.com

Apr 8, 2009 Sometimes there is an urgent need for creating an exact duplicate or “mirror” of a web site on a separate server. This could be needed for

Troubleshooting Apache .htaccess Authentication - AskApache

Apache Web Server users sometimes have problems getting Apache . transmits those requests on to the origin server, and then returns the response from the

27 Request Methods for Apache rewritecond htaccess - AskApache

The script MUST NOT provide a response message-body for a HEAD request. If it does, then the server MUST discard the message-body when reading the response www.askapache.com/;27-request-methods-for-use-with-apache-and-rewritecond-and-htaccess.html

.htaccess – Wikipedia

Statements such as the following can be used to configure a server to send out customized documents in response to client errors such as “404:Not Found” or

Sending POST form data with php CURL - AskApache

Hard Drive Recovery - when your hard drive fails, whether it is on your PC, server or laptop - professional hard drive data recovery is available.

Mod_Security .htaccess tricks - www.askapache.com

Web Server Administrators;Web security Adminis;Security consultants and .. I go to restart the server after .htaccess file has been modified and it

Manipulating HTTP Headers with htaccess

HTTP/1.1 200 OK Date:Mon, 07 Jun 2010 23:17:31 GMT Server:Apache/2.2.3 (Red On any Apache server, this can be done via .htaccess, but this might be a

Securing php.ini and php.cgi with .htaccess - AskApache

To execute CGI scripts, a Web server must be able to access the interpreter used for that script. But what if you directly request site.com/cgi-bin/php.ini

Running a Reverse Proxy in Apache - www.askapache.com

A proxy server is a gateway for users to the Web at large. Users A reverse proxy is a gateway for servers, and enables one web server

Update:AskApache Password Protect Plugin

Anyway, This will not install, telling me my server's not good enough… not I am using the latest version and WP 2.3.3 on a Linux/Apache hosted server.

Crazy Cache WordPress Plugin Released - AskApache

Please contact the server administrator, support@supportwebsite.com and More information about this error may be available in the server error log.

Advanced .htaccess Tricks for Securing Sites - AskApache

The site runs on a privately hosted linux server and is setup to be as secure as possible in many different ways. The site is a private forum with sensitive

Speed Tips:Use Multiple SubDomains - AskApache

In the .html document the browser is told to also retrieve .css and .js files from my z server. In the .js file I load some flash which tells the browser to

New Version of Password Protection Plugin - AskApache

Also fixed all the bugs I was notified about or found, and provided the option to bypass some of the testing if you know your server supports something.

Speed Tips:Add Cache-Control Headers - www.askapache.com

Apr 15, 2010 Internal Server Error The server encountered an internal error or But by adding it its giving me 500 internal server error as soon as i

Advanced Htaccess – SSI, ErrorDocuments, DirectoryIndexing SEO

SSI , Server Side Includes, can be very useful to webmasters and visitors alike. . on this server<br>and sent to blacklists around the world.

Serve External Javascript Files locally for Increased Speed

Sep 30, 2008 One of the ways I speed up AskApache.com is by downloading all the external javascript files to my server and then serve them from my own www.askapache.com/;serve-external-javascript-files-locally-for-increased-speed.html

.Htaccess rewrites, Mod_Rewrite Tricks and Tips

It allows me to update my javascript and css files in my visitors cache's simply by naming them differently in the html, on the server they stay the same

Debugging Tools for Windows

I am almost ready to publish the final tutorial on using ssh tunnels from a truecrypt partition on a Windows machine. Of course I choose to go way overboard in my research and the tutorial is full of some pretty awesome windows tricks.. I will come back to this post soon and post all the other advanced tools I use for debugging windows, for now though you MUST know how to debug the kernel and use these basic debugging tools.

Questions I Ask Web Hosting Companies, Before Buying

The following is a transcript of a chat I had with a company called tektonic, and at that time I was looking for a cheap linux host to use for some redundancy/failover operations. I generally contact a new hosting company like this every few months.. I like to have options available in case of some kind of failure or network attack, so it’s always a good idea to have a few ace linux servers in your back pocket.

If you’ve read any other articles on AskApache, you can see a certain obsession towards optimization, speed, and security — so that is the purpose of the following questions.

HOWTO: Uninstall CPANEL over SSH

The following is just a quick reference of some of the commands I used to uninstall cpanel. This is for advanced users of the shell. If you aren’t that advanced and you run a single one of these commands without fully understanding it, you will probably kill your server, probably lose everything on it permanently, probably not have a website or email for weeks.. So backup all your data FIRST. Also, if you aren’t 100% sure you won’t run into problems, you should contact your hosts technical support – but be prepared for some MAJOR negativity.. cpanel makes things very easy for hosts, and the last thing tech support wants is to fix a server broken by someone who doesn’t know what they are doing.

Real-Life Htaccess Files from My Server

#### 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]

30x Faster WP-Super Cache Site Speed

NOT a typo.. 30x is measurable, well-documented, and easily tested. This is what open-source is about. I haven’t had time to post much the past year, I’m always working! So I wanted to make up for that by publishing an article on a topic that would blow your mind and be something that you could actually start using and really get some benefit out of it. This is one of those articles that the majority of web hosting companies would love to see in paperback, so they could burn it.

grilled cheese jam session now online

You’ve probably seen this.. one of THE coolest video games I’ve ever seen (though I haven’t played).. Its tempting me back to MLG.. Games are games today, but in the future Gaming Skill will be highly sought after.. So I check in with the gaming world occasionally, I’d hate to miss something like a new Duke-Nukem (cancelled after 10 years in development and no releases).

I have around 10 really nice articles I’ve been working on for awhile now, my problem is that I am a perfectionist, so I keep finding improvements.. worth it.

HTTP Status Codes and .htaccess ErrorDocuments

There are a total of 57 HTTP Status Codes recognized by the Apache Web Server. Wouldn’t you like to see what all those headers and their output, ErrorDocuments look like?

Vetted – Top 3 WordPress Speed Plugins

There are so many WordPress plugins out there now that I wanted to post my favorite 3 plugins for speeding up a WP-Powered blog. These are the 3 plugins that I install for pretty much all of my WP-Powered sites, which I run about 300 now. They work together to provide a very optimized blog for speed.

DB-Cache Reloaded does something entirely different, it saves the mysql queries that are made to the WP-database, as well as the mysql results to static files, and then through php serves those cached-files instead of re-querying the mysql database. Most mysql databases are stored on separate servers, and although many are on the same local network there is a limit to how many queries, and how many connections can take place.

So DB-Cache Reloaded basically makes WP-Super Cache work alot faster when generating the cache files, and DB-Cache Reloaded helps in a number of areas un-related to WP-Super Cache, like in the admin panel. And DB-Cache without WP-Super-Cache is a joke because it still uses the application-level and php for everything. Gotta use both (or just WPSC).

Custom bash_profile for Advanced Shell Users

Looking for some advanced uses for the shell? Here is some of my best. The shell is where 70% of my work takes place, and I have at least one terminal open almost 100% of the time, for viewing tailing color-coded logs, and of course for the SSH Tunnels that I use to route various networking through, like my email. So I decided that to standardize and create a bash_profile containing the most time-saving and helpful functions that I could use on all the various hosting environments would really be some sweet sugar, so here is my constant Work-in-progress.

It works for all shells I encounter, including BackTrack, Debian, Knoppix, Arch Linux, etc. Also works for many hosting environments I use including DreamHost, HostGator, WiredTree, and pretty much any linux VPS.

I also rely on this heavily from within shell scripts I write to access all the functions and stuff in this .bash_profile, and to do that I just do like:

#!/bin/bash
 
source ~/.bash_profile &>/dev/nulll
 
pm "PM is a function to output nice messages with color"
yn "Are you enjoying the shell" && pm "Thats great!" || pm "Perhaps you're better suited for DOS"
yn "Show Calendar" && aa_calendar
yn "Show Fortune" && aa_fortune

Optimizing Servers and Processes for Speed with ionice, nice, ulimit

To prepare for several upcoming articles on AskApache that are focused on optimizing Servers and Sites from a server admin level, here is an article to introduce the main tools that we will be using. These tools are used to optimize CPU time for each process using nice and renice, and other tools like ionice are used to optimize the Disk IO, or Disk speed / Disk traffic for each process. Then you can make sure your mysqld and httpd processes are always fast and prioritized.

Protecting Files with Advanced Mod_Rewrite Anti-Hotlinking

If you have files on your site that you don’t want indexed by malicious search engines, grabbed and leeched by malicious spammers, or stolen and made available elsewhere, you can use mod_rewrite to drastically reduce or totally reduce that activity.

Crazy Advanced Mod_Rewrite Tutorial

Note: Extremely ILL Content
Find the key to unlocking mod_rewrite and you WILL be sick.. sick with a diamond disease on your wrist!

Hire AskApache

Hi there, do you want help with a project (SEO, site/server optimization, setup, wordpress plugin development, other programming, server issues, security issues, etc.) or need some expert consulting? I’m very comfortable working freelance for clients from all across the globe. I enjoy helping good causes or sites/webmasters similar to mine, and I enjoy making new friends and networking. Personally, I love to chat on the phone or instant message with fellow webmasters and web entrepreneurs, and I like networking with like-minded individuals. Once my services are retained we will communicate any way that works best for you.. Billing is pretty…

mod_rewrite Fix for Caching Updated Files

Web Developers sometimes use file.ext?v=004 as a version control system to force visitors to use updated files. This is terrible. Instead link to apache-003.css and set it to be cached forever. When you change the file you just change the links to apache-004.css. That eliminates millions of bandwidth and resource robbing If-Modified-Since requests. You only need Apache with mod_rewrite, and 1-10 minutes!


  Search Feed
  Comments Feed

Clusty

Ask.com

Yahoo

Windows


It's very simple - you read the protocol and write the code. -Bill Joy

HTML | DCMI | GRDDL | XOXO | XDMP | XFN | DOM | XML | XHTML 1.1 Strict | CSS 2.1 | W3C

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

Site Map | Contact Webmaster | Glossary | License and Disclaimer | Terms of Service

↑ TOP
Main