Nov 26, 2007

Gain traffic by going International


Experiments with web technologies, a place of old, new, radical, and controversial ideas and code. On this page, you'll find news, links to technologies and ways to pimp your website.


Experimente mit Netztechnologien, ein Ort der alten, neuen, radikalen und umstrittenen Ideen und des Codes. Auf dieser Seite finden Sie Nachrichten, Verbindungen zu Technologien und Weisen zu kuppeln Ihre Web site.


, ����� ������, �����, �����������, � �������������� ���� � ������. �� ���� ��������, �� ������� , ���������� � pimp ���� website.


Experimenten met Webtechnologieën, een plaats van oude, nieuwe, radicale, en controversiële ideeën en code. Voor deze pagina, zult u vinden nieuws, verbindingen aan technologieën en manieren aan pooi uw website.


实验以 网技术, 老, 新, 根本, 和有争议的想法和代码地方。在这页, 您将发现 新闻, 链接 技术 并且方式 拉皮条您的网站.


웹 기술 에 실험, 오래 되고는, 새롭고, 과격하, 논쟁적인 아이디어 및 부호의 장소. 이 페이지에, 너는 발견할 것이다 뉴스, 연결에 기술 그리고 방법에 너의 웹사이트는 뚜쟁이질를 한다.


網の技術 の実験、古く、新しく、根本的な、論争の的になる考えおよびコードの場所。このページで、見つける ニュース、リンクへの 技術 そして方法への あなたのウェブサイトはpimp。


Experiências com tecnologias da correia fotorreceptora, um lugar de idéias e do código velhos, novos, radicais, e controversos. Nesta página, você encontrará notícia, ligações a tecnologias e maneiras a pimp seu Web site.


Esperimenti con le tecnologie di fotoricettore, un posto di vecchi, nuovi, idee e codice radicali e e discutibili. A questa pagina, troverete notizie, collegamenti a tecnologie e sensi a pimp il vostro Web site.


Expériences avec des technologies d'enchaînement, un endroit de vieux, nouveaux, radicaux, et controversés idées et code. À cette page, vous trouverez nouvelles, liens à technologies et manières à sont souteneurs votre site Web.


Experimentos con tecnologías de la tela, un lugar de viejos, nuevos, radicales, y polémicos ideas y código. En esta página, usted encontrará noticias, acoplamientos a tecnologías y maneras a pimp su Web site.

Nov 9, 2007

.htaccess tutorial

.htaccess tutorial

.htaccess file provide a way to make config changes on a per-directory.



A file, containing one or more guidelines settings, it is placed in a particular directory, and the directives apply to that directory and all its subsequent subdirectories.

Notice:

For example, if you prefer that the file is called .htacc then you could add the following line to your server's config file httpd.conf:

AccessFileName .htacc

If a policy is allowed in a .htaccess file, the documentation for this guideline will contain a section Override, specifying that value must be in AllowOverride for this directive is permitted.

So you must at least have AllowOverride FileInfo to accept that this directive is in the .htaccess

Example:

Background:Configuration of the server, virtual host, directory, .htaccess
Override:FileInfo

If you are uncertain whether a guideline in particular is accepted in a .htaccess file, look at the documentation for this policy, and check the line for Context ".htaccess".




Not using .htaccess files

You can use the user authentication settings in the config file's main server, and that is, in fact, the most appropriate way of doing things.

This is particularly true, for example, in cases where providers are providing multiple sites for users in just a machine, and want their users to change their settings.

Any settings you consider adding in a .htaccess, can be effectively placed in a section in the main config file from your server.

There are two main reasons to avoid the use of .htaccess.

Moreover, the .htaccess file is loaded each time a document is required.

See the section as the directives are applied. So if a file from one directory /webroot/htdocs/folder is required, then Apache must look for the following files:

/.htaccess
/webroot/.htaccess
/webroot/htdocs/.htaccess
/webroot/htdocs/folder/.htaccess

Notice that this will only be the case if the .htaccess files are entitled and allowed access to /, which is not normally the case.

Specify exactly what you set in the directive AllowOverride, and direct them to the relevant documentation, will spare you a lot of confusion later.

Notice that is exactly equivalent place the .htaccess file in a directory /webroot/htdocs/folder containing a guideline, and add the same directive in a section Directory in the config of your main server

Archive .htaccess in /root/htdocs/public_html

Content of a .htaccess file in /www/htdocs/public_html

AddType application/x-httpd-php .php

Section of your httpd.conf



However, adding it to your server's config file will result in a lower loss of performance, as far as the setup is loaded at boot from the server, instead of a file that all that is required.

The use of .htaccess can be completely disabled, adjusting the directive AllowOverride to none

AllowOverride None


As the guidelines are applied

These, in turn, can be overridden by its directives guidelines further up, or in the main config file from the server.

Example:

In the directory/root/htdocs/public_html1 we have an apache .htaccess containing the following:

Options +ExecCGI

Notice: you must have "AllowOverride Options" to allow use of the directive "Options" in the .htaccess

In the directory/root/htdocs/public_html1/example2 we have an apache .htaccess containing:

Includes +Options

Because of this second .htaccess file in the directory/root/htdocs/public_html1/example2, to run CGI scripts is not allowed, because only Includes Options is in effect, which completely override any other adjustments previously configured.




authentication and/or authorization in .htaccess

See the discussion above about when you should and when you should not use the .htaccess file.

That said, if you still believe you need to use a .htaccess file, the config below probably will for you.

Content of a .htaccess file:

Basic AuthType
AuthName "Hacking Attempt"
AuthUserFile /webroot/private-dir/.htpasswd
AuthGroupFile /webroot/private-dir/.htgroup
Require Group admins

Notice that AllowOverride AuthConfig must be enabled so that these guidelines take effect.

Please see the authorization tutorial for a more complete discussion of authentication and authorization in .htaccess files.




SSI Server Side Includes Example

This can be done with the following directives for setting, placed in a .htaccess file in the desired:

Options +Includes
AddType text/html shtml
AddHandler server-parsed shtml

Notice that both AllowOverride Options and AllowOverride FileInfo must be empowered to these guidelines have effect.

Check out the SSI tutorial on apache for a more complete discussion of server-side includes.




CGI sample code

This can be implemented with the following settings:

Options +ExecCGI
AddHandler cgi-script cgi pl

Alternatively, if you want all the files in a given directory, as CGI programs, it can be done with the following config:

Options +ExecCGI
SetHandler cgi-script

Notice that both AllowOverride Options and AllowOverride FileInfo must be enabled so that these directives have any effect.

Please see the apache cgi tutorial of CGI tutorial for a more complete discussion of CGI programming and config.




Solving Problems

When you add guidelines config to a .htaccess file and not get the desired effect, there are a number of points that may be wrong.

If not generated any error from the server, you certainly have AllowOverride None qualified.

Alternatively, it can accuse you of syntax errors will be corrected.


Archives .htaccess




Definitions

Authentication
The positive identification of an entity such as a network server, a client, or user.
HTTPD Apache Docs Link: Authentication, Authorization and Access Control
Access Control
In the context of Apache normally means restricting access to certain domains
HTTPD Apache Docs Link: Authentication, Authorization and Access Control
Algorithm
The algorithms are called to encrypt usually encryption algorithms
apacheextensiontool (apxs)
It is a script written in Perl that helps compile the source code for some modules to become Dynamic Shared Objects (DSO s) and helps to be installed on the Apache Web server.
HTTPD Apache Docs Link: Pages Help: apxs
Certificate
Network entities verify signatures using certificates of BC.
Apache SSL / TLS
certificationauthority (ca)
Other entities network can verify the signature to verify that a Certificate Authority had authenticated the holder of the certificate.
Apache SSL / TLS
certificatsigningrequest (csr)
Once the CSR is signed, it becomes a genuine certificate.
Apache SSL / TLS
Encryption Algorithm
Examples of these algorithms are DES, IDEA, RC4, and so on.
Apache SSL / TLS
Text encryption
The result of having applied to a text unencrypted an encryption algorithm.
HTTPD Apache Docs Link: SSL / TLS
Common Gateway Interface (CGI)
This interface was originally defined by the NCSA but there is also a draft RFC.
HTTPD Apache Docs Link: Dynamic Content with CGI
Configuration Directives
HTTPD Apache Docs Link: Directives
Configuration File
A text file containing directives that control the configuration of Apache.
HTTPD Apache Docs Link: Configuration Files
CONNECT
It can be used to encapsulate other protocols, such as SSL protocol.
Context
An area in the configuration files where they are allowed certain types of directives.
HTTPD Apache Docs Link: Terms used to describe the Apache Directives
Digital Signature
Only the public key can decrypt the CAs signature, verifying that the CA has authenticated the network entity owns the certificate.
Apache SSL / TLS
Directive
The directives are in the Configuration File
HTTPD Apache Docs Link: Index Directives
dynamicsharedobject (dso)
The modules compiled separately to Apache httpd binary can be loaded as required.
HTTPD Apache Docs Link: Support Dynamic Shared Object
environmentvariable (env-variable)
Apache also contains internal variables that are referred to as environment variables, but which are stored in the internal structures of Apache, rather than in the shell environment.
HTTPD Apache Docs Link: Environment Variables Apache
Export
The cryptographic software Export is limited to a small key, so that the ciphertext that is achieved with it, can desencriptarse by brute force.
Apache SSL / TLS
Filter
For example, the output filter INCLUDES processes documents for Server Side Includes.
HTTPD Apache Docs Link: Filters
fully-qualifieddomain-name (fqdn)
For example, www is a hostname, example.com is a domain name, and www.example.com is a fully qualified domain name.
Handler
For example, the handler cgi-script designates files to be processed as CGI.
HTTPD Apache Docs Link: Using Apache Handler
Headline
Part of the petition and HTTP response that is sent before the actual content, which contains metadata describing the content.
.htaccess
Despite its name, this file can contain any type of guidelines, directives not only access control.
HTTPD Apache Docs Link: Configuration Files
Httpd.conf
The default location is / usr/local/apache2/conf/httpd.conf, but can move using configuration options when compiling or start Apache.
HTTPD Apache Docs Link: Configuration Files
hypertexttransferprotocol (http)
Apache implements version 1.1 of this protocol, which is referred to as HTTP/1.1 and defined by RFC 2616.
HTTPS
Actually HTTP over SSL.
Apache SSL / TLS
Method
Some of the methods diponibles HTTP are GET, POST and PUT.
Message Digest
A hash of a message, which can be used to verify that the content of the message has not been altered during transmission.
Apache SSL / TLS
MIME-type
In HTTP, the mime type is transmitted in the headwaters of the Content Type.
HTTPD Apache Docs Link: mod_mime
Module
These modules are called modules third.
See Table Module
modulemagicnumber (mmn)
If you change the magic number of module, all the modules of others must be at least recompiled, and sometimes even need to be slight modifications to run with the new version of Apache
OpenSSL
The Open Source toolkit for SSL / TLS
See http://www.openssl.org/
Pass Phrase
Usually its just the key encryption / decryption algorithms used by encryption.
Apache SSL / TLS
Plaintext
The unencrypted text.
Private Key
The key secret of a Public Key Cryptography system, used to decrypt incoming messages and sign outgoing.
Apache SSL / TLS
Proxy
If multiple clients requesting the same content, the proxy serves content from its cache, instead of asking every time they need to source server, reducing this turnaround time.
HTTPD Apache Docs Link: mod_proxy
Key Publish
The key publicly available in a Public Key Cryptography system, which is used to encrypt messages intended for its owner and to decrypt signatures made by its owner.
Apache SSL / TLS
Criptográfia Public Key
Also called Asymmetric Cryptography.
Apache SSL / TLS
regularexpresion (regex)
One way to describe a standard text-for example, "all words that begin with the letter" A "or" all the phone numbers that contain 10 digits "or even" All sentences between commas, and they do not contain any Q letter. "Regular Expressions in Apache are useful. Uses Apache Perl Compatible Regular Expression thanks to the PCRE library.
Reverse Proxy
It is useful to hide the true source server to the client for security, or for load balancing.
Secure Sockets Layer (SSL)
Its implementation is more popular HTTPS, the Hypertext Transfer Protocol (HTTP) over SSL.
Apache SSL / TLS
Server Side Includes (SSI)
A technique for embedding process directives in HTML files.
HTTPD Apache Docs Link: Introduction to Server Side Includes
Session
Information context of a communication in general.
SSLeay
The original implementation of the library SSL / TLS developed by Eric A. Young
Symmetric Cryptography
The study and application of encryption algorithms that use a single secret key for both encryption to decrypt.
Apache SSL / TLS
Tarball
The Apache distributions are stored in compressed files with tar or pkzip.
transportlayersecurity (tls)
Version 1 of TLS is almost identical to the version 3 SSL.
Apache SSL / TLS
uniformresourcelocator (url)
A URL for this page is http://httpd.apache.org/docs/trunk/glossary.html.
uniformresourceidentifier (URI)
URIs in use world-wide web are commonly referred to as URLs.
Virtual Hosting
They are serving different websites with a single entity Apache. Hosting virtual IPs difference between websites based on their IP addresses, while the name-based virtual hosting uses only the name of the host and thus can accommodate many websites with the same IP address.
HTTPD Apache Docs Link: Documentation Hosting Virtual Apache
X.509
A certificate authentication scheme recommended by the International Telecommunication Union (ITU-T) which is used for authentication SSL / TLS.
Apache SSL / TLS

Server Apache Test

ErrorDocument
 

Nov 8, 2007

Google AJAX Search API Blog: Slide Show Update - Full Control Panel

The Google AJAX Feed API's Slide Show got an update with the addition of a full control panel option. To see this new control panel in action, just hover your mouse over the sample below. To get all the information on the new feature, visit the Slide Show Programming Guide.


Mr. Apache

Mr. Apache

iTools 8 for Mac OS X & Mac OS X Server

iTools 8 for Mac OS X & Mac OS X Server:

Apache Dashboard iTools 8 is a web site management system for both small to medium-sized web hosting providers that own or rent dedicated servers, and for large service providers who may wish to bundle iTools into their offerings. iTools is ideal for the professional hosting of multiple companies on a single server; it shortens the time and lessens the expertise needed to deploy new sites. iTools's secure, domain-specific, browser-based Apache administration, using a 8th generation suite of tools, makes Apache on Mac OS X, the easiest Apache in the world to administer. Using Apple's bundled Apache as a point-of-departure, Tenon's iTools extends this underlying server platform with an Apache 2 implementation, a point-and-click interface and a rich set of new features. Included with iTools, in addition to extensions and enhancements to the Mac OS X Apache web server, are a state-of-the-art domain name server, a multihoming FTP server, a robust SSL encryption engine to support eCommerce, a powerful caching engine with state-of-the-art proxy support, and a search engine. All of the tools are supported using a secure point-and-click browser-based administration tool.

Screen Shots
iTools Control Panel Configure your DNS Add a virtual host

How To Ask Questions The Smart Way

How To Ask Questions The Smart Way

Apache HTTPD Debugging Guide - The Apache HTTP Server Project

Apache HTTPD Debugging Guide - The Apache HTTP Server Project

This document is a collection of notes regarding tools and techniques for debugging Apache and Apache modules.

Got more tips? Send 'em to docs@httpd.apache.org. Thanks!

  1. Using gdb
  2. Getting a live backtrace on unix
  3. Getting a live backtrace on Windows
  4. Debugging intermittent crashes
  5. Using 'truss/trace/strace' to trace system calls and signals
  6. Getting the server to dump core
  7. Solaris and coredumps
  8. Getting and analyzing a TCP packet trace

Available Mailing Lists

Available Mailing Lists

Fresh .htaccess Examples: Cookies, Variables, Custom Headers

Fresh .htaccess Examples: Cookies, Variables, Custom Headers

Redirect All Feeds to Feedburner's MyBrand


RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed|wp-atom|wp-feed|wp-rss|wp-rdf|wp-commentsrss)(.*)\ HTTP/ [NC,OR]
RewriteCond %{QUERY_STRING} ^feed [NC]
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator|talkr) [NC]
RewriteRule .* http://feeds.askapache.com/apache/htaccess? [R=307,L]

.htaccess Google Group Feeds

Atom 1.0
15 New messages
50 New messages
15 New topics
50 New topics
RSS 2.0
15 New messages
50 New messages
15 New topics
50 New topics

Apache .htaccess Google Search Engine

Search engine details


Apache htaccess, httpd.conf, mod_rewrite, advanced and hard to find documentation

This project is dedicated to the best .htaccess and apache htaccess tutorials, guides, and documentation. Helpful cheatsheets, underground apache mailing-lists, webmaster forums, mod_rewrite online samples, etc. This is for all the awesome server configurations and Apache hacks. ~AskApache


Test it out!

searches 22 sites, including:



http://www.webmasterworld.com/forum92/*.htm, http://www.askapache.com/*.html, askapache.com, http://mail-archives.apache.org/mod_mbox/httpd-*, http://news.gmane.org/gmane.comp.apache.mod-security.user



Keywords:


htaccess "htaccess file" mod_rewrite ".htaccess files" httpd.conf rewriterule rewritecond htpasswd



Keywords: htaccess askapache rewriterule rewritecond "apache htaccess" mod_rewrite htpasswd wordpress