apparentlymart/shindig/trunk/php/.htaccess - Htaccess File

apparentlymart/shindig/trunk/php/.htaccess

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

<IfModule mod_rewrite.c>
        RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
        # NOTE: If you added a web_prefix to config, add it here too, e.g.:
        #RewriteRule (.*) /shindig/php/index.php [L]
        RewriteRule (.*) index.php [L]
  # for OAuth signatures to work for POSTed data, always_populate_raw_data needs to be turned on
  php_flag always_populate_raw_post_data On
        php_flag magic_quotes_gpc Off
</IfModule>

On Github License

Files

Download PDF of Htaccess file
POST, REQUEST_FILENAME

Comments

Apache