veshter/package/master/src/default/ftp/content/.htaccess - Htaccess File

veshter/package/master/src/default/ftp/content/.htaccess

# %LICENSE% - see LICENSE
#
# $Id: .htaccess,v 1.2 2013-01-14 21:13:19 dkolev Exp $

####################################
# FOR DEBUGGING ONLY
#php_flag display_errors on
####################################

####################################
# PHP Specific

# Configuration for PHP itself
php_flag magic_quotes_gpc Off

####################################

####################################
# VESHTER

AddType application/x-httpd-php .html
AddType application/x-httpd-php .vesh
DirectoryIndex index.html index.vesh index.php

#use VESHTER for content rendition
RewriteEngine on
RewriteBase /

#don't forward in some specific directories
RewriteCond %{REQUEST_FILENAME} !^services
RewriteCond %{REQUEST_FILENAME} !^static

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /gui.generic.php [L]

####################################

# Changelog:
# $Log: .htaccess,v $
# Revision 1.2  2013-01-14 21:13:19  dkolev
# Merge to prototype
#
# Revision 1.1.4.1  2012-02-19 20:56:18  dkolev
# Switch .html index pages
#
# Revision 1.1  2010-04-09 00:04:53  dkolev
# Move
#
# Revision 1.1  2010-04-04 02:03:23  dkolev
# *** empty log message ***
#
# Revision 1.1  2009-11-16 00:21:19  dkolev
# Moved to site folder.
#
# Revision 1.2  2009-03-22 07:52:47  dkolev
# Added index.vesh DirectoryIndex
#
# Revision 1.1  2009-03-22 04:43:34  dkolev
# Renamed www to content
#
# Revision 1.3  2009-03-22 04:42:51  dkolev
# Disabled debugging information being printed
#
# Revision 1.2  2009-03-21 23:05:05  dkolev
# *** empty log message ***
#
# Revision 1.1  2009-02-20 17:20:19  dkolev
# Initial import
#

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, static

Comments

Apache