info343/.htaccess

php_value upload_max_filesize 15M

RewriteEngine On
RewriteBase /works/info343/

RewriteRule ^$ index.php?page=home [QSA,L]
RewriteRule ^(calendar|lectures|labs|homework|syllabus|software|staff|dropbox)/?$ index.php?page=$1 [QSA,L]
RewriteRule ^(calendar/.+)$ index.php?page=$1 [QSA,L]
RewriteRule ^(lab|minilab|homework)s?/(.+)/$ writeup.php?type=$1&id=$2 [QSA,L]

# RewriteCond %{REQUEST_FILENAME} -f [OR]
# RewriteCond %{REQUEST_FILENAME} -d
# RewriteRule ^.*$ -