Now every page is generated by includes/cms.php. I still need to do more checks to issue 404s appropriately.
Some leftover cruft from past merges was cleaned.
ErrorDocument 404 /404.php
RewriteEngine on
-RewriteRule ^notes/page/([1-9]+)/?$ notes/index.php?page=$1 [L]
-RewriteRule ^notes/([^/\.]+)/?$ notes/index.php?note=$1 [L]
+RewriteRule ^notes/?$ /index.php?page=1 [L]
+RewriteRule ^notes/page/([1-9]+)/?$ /index.php?page=$1 [L]
+RewriteRule ^notes/([^/\.]+)/?$ /index.php?note=$1 [L]
RewriteRule ^notes/?$ notes/ [L]
-RewriteRule ^([^/\.]+)/?$ index.php?project=$1 [L]
+RewriteRule ^([^/\.]+)/?$ /index.php?project=$1 [L]
}
#contact_me {
- margin-top:100px;
-<<<<<<< HEAD
font-family:sans-serif;
-=======
->>>>>>> no-javascript
+ text-align:right;
+ float:right;
}
/* reprap */
#peephow_title_2 {
font-size:3em;
-<<<<<<< HEAD
}
#peepshow_entry {
font:1.4em "lucida console";
}
-=======
-}
-
#peepshow_entry {
font:1.4em "lucida console";
}
->>>>>>> no-javascript
-/* readoo */
-#readoo_title {
- font:1.6em arial;
-}
-
-#readoo_entry {
- font:1.6em arial;
-}
-
/* drawcss */
#drawcss_title {
font:1.6em "lucida console";
#i_like_pandora_entry {
font:1.4em "lucida console";
-<<<<<<< HEAD
}
/* notes */
pre {
margin-top:10px;
-=======
->>>>>>> no-javascript
+}
+
+#navigation {
+ text-align:right;
}
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-"http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head>
- <meta name="generator" content=
- "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
- <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
-
- <title>dylanstestserver</title>
- <link href="includes/style.css" rel="stylesheet" type="text/css">
- <link rel="icon" href="favicon.ico" type="image/png">
- <script type="text/javascript" src="includes/all.js">
-</script>
-</head>
-
-<body>
- <div id="structure">
- <div id="banner">
- <a href=
- "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#">
- <img src="images/dylanstestserver.png" alt="dylanstestserver"
- border="0"></a>
- </div>
-
- <div id="content">
- <div id="exhibit">
- <?php require('includes/cms.php'); ?>
- </div>
-
- <ul id="portfolio" style="text-align:right">
- <li>
- <h3>my projects:</h3>
- </li>
-
- <?php $index->list_projects(); ?>
-
- <li>
- <h3>things i've done for others:</h3>
- </li>
-
- <li><a href=
- "http://activehamptons.com">activehamptons.com</a></li>
-
- <li><a href=
- "http://transfishing.com">transfishing.com</a></li>
-
- <li>
- <h3>something i've worked on:</h3>
- </li>
-
- <li><a href=
- "http://tempositions.com">tempositions.com</a></li>
-
- <li>
- <h3>my repositories:</h3>
- </li>
-
- <li><a href=
- "git">git://dylanstestserver.com</a></li>
-
- <li>
- <h3>some notes:</h3>
- </li>
-
- <li><a href=
- "/dylanstestserver/notes">here</a></li>
-
- <li>
- <h1 id="contact_me"><a href=
- "mailto:dylan@psu.edu">dylan</a></h1><a href=
- "mailto:dylan@psu.edu">@psu.edu</a>
- </li>
- </ul>
- </div><br>
- <br>
- </div>
-</body>
-</html>
+<?php require('includes/cms.php'); ?>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-"http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head>
- <meta name="generator" content=
- "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
- <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
-
- <title>dylanstestserver</title>
- <link href="/dylanstestserver/includes/style.css" rel="stylesheet" type="text/css">
- <link rel="icon" href="/dylanstestserver/favicon.ico" type="image/png">
-</head>
-
-<body>
- <div id="structure">
- <div id="banner">
- <a href=
- "http://dylanstestserver.com/">
- <img src="/dylanstestserver/images/dylanstestserver.png" alt="dylanstestserver"
- border="0"></a>
- </div>
-
- <div id="content">
- <div id="notes">
- <?php require('../includes/cms.php') ?>
- <h1 id="contact_me" style="margin-top:60px;"><a href=
- "mailto:dylan@psu.edu">dylan</a></h1><a href=
- "mailto:dylan@psu.edu">@psu.edu</a>
- </div>
- </div>
- </div>
-</body>
-</html>