Permalink
Browse files

Disabled pretty_urls for the sample website.

Removed unused config values.
  • Loading branch information...
1 parent 2a0537d commit 447da7ef5c3cf6666ed06357cfa192b94845b02d @ludovicchabant committed Mar 8, 2011
Showing with 7 additions and 10 deletions.
  1. +3 −2 website/.htaccess
  2. +1 −4 website/_content/config.yml
  3. +3 −4 website/web.config
View
@@ -1,8 +1,9 @@
-RewriteEngine on
+# Uncomment this if you want to set 'pretty_urls' to 'true'.
+#RewriteEngine on
# If you're running from a sub-directory, uncomment the RewriteBase statement and
# change it to the sub-directory name you're using.
-RewriteBase /piecrust
+#RewriteBase /piecrust
# Don't rewrite requests to stuff that physically exists.
RewriteCond %{REQUEST_FILENAME} -f [OR]
@@ -1,10 +1,7 @@
site:
- title: PieCrust Demo
- enable_cache: false
+ title: Your New PieCrust Website
enable_gzip: true
- pretty_urls: true
debug: true
- posts_per_page: 3
markdown:
use_markdown_extra: true
View
@@ -4,21 +4,20 @@
<staticContent>
<mimeMap fileExtension=".less" mimeType="text/css" />
</staticContent>
- <rewrite>
+ <!-- Uncommment this if you want to set 'pretty_urls' to 'true' -->
+ <!--rewrite>
<rules>
<rule name="Don't rewrite existing resources" stopProcessing="true">
- <!--match url="^.*$" /-->
<conditions logicalGrouping="MatchAny">
<add input="{REQUEST_FILENAME}" matchType="IsFile" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" />
</conditions>
<action type="None" />
</rule>
<rule name="Rewrite to index.php" stopProcessing="true">
- <!--match url="^.*$" /-->
<action type="Rewrite" url="index.php" />
</rule>
</rules>
- </rewrite>
+ </rewrite-->
</system.webServer>
</configuration>

0 comments on commit 447da7e

Please sign in to comment.