Skip to content

nciw/dinnerinthewoods.org

Repository files navigation

Dinner in the Woods

Dinner in the Woods the premier event for Nature's Classroom Institute of Wisconsin. The repo contains all the code necessary for running the ecommerce page for the event.

Table of Contents

Setting up Apache

Setting up Apache

Nothing special is required for Apache to work. We've include the .htaccess file in the public folder. If rewriting is not working for you, please check that the mod_rewrite module (htaccess support) is enabled in the Apache configuration.

.htaccess example

Below is an example of an working .htaccess file used by simple-php-router.

Simply create a new .htaccess file in your projects public directory and paste the contents below in your newly created file. This will redirect all requests to your index.php file (see Configuration section below).

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]