List of .htaccess Examples

From the .htaccess cheatsheetRead More List of .htaccess Examples

Advertisements

The Camping Server for Apache + FastCGI

FastCGI .htaccess

This is a basic FastCGI .htaccess file. The last line is the most important.

AddHandler fastcgi-script .fcgi 

Options +FollowSymLinks +ExecCGI  

RewriteEngine On  
RewriteRule ^$ index.html [QSA] 
RewriteRule ^([^.]+)$ $1.html [QSA] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^(.*)$ dispatch.fcgi/$1 [QSA,L]

Read More The Camping Server for Apache + FastCGI

DreamHost httpd.conf

    Alias /icons/ "/usr/local/dh/apache/template/icons/"

    <Directory "/usr/local/dh/apache/template/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    # This Alias will project the on-line documentation tree under /manual/
    # even if you change the DocumentRoot. Comment it if you don't want to
    # provide access to the on-line documentation.
    #
    Alias /manual/ "/usr/local/dh/apache/template/docs/manual/"

    <Directory "/usr/local/dh/apache/template/docs/manual">
        Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    #

Read More DreamHost httpd.conf