Commits

Anonymous committed 6d717b7

- Use Pygments; use PATH_INFO

Comments (0)

Files changed (1)

 Create a configuration file, such as ``slipper.ini``, and place it in
 the directory of the web app you created, such as
 ``/home2/myusername/webapps/my_slipper_wsgi``. Make it look like this,
-replacing the value of `port` with the port that you noted earlier::
+replacing the value of `port` with the port that you noted earlier:
+
+.. sourcecode:: INI
 
     [server:main]
     use = egg:Paste#http
     $ ~/slipper.env/bin/paster serve --reload slipper.ini
 
 Verify that it worked by visiting
-``http://mysite.com/s?myapp-dev/tip/doc/index.html``. You should see
+``http://mysite.com/s/myapp-dev/tip/doc/index.html``. You should see
 the index page of your site, provided there is an ``index.txt`` in the
 ``doc`` directory in your repository.
 
     RewriteEngine On
     RewriteBase /
 
-    RewriteRule ^$ /s?myapp-dev/tip/doc/index.txt [L]
+    RewriteRule ^$ /s/myapp-dev/tip/doc/index.txt [L]
 
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
-    RewriteRule ^(.*)$ /s?myapp-dev/tip/doc/$1 [L]
+    RewriteRule ^(.*)$ /s/myapp-dev/tip/doc/$1 [L]
 
 .. note::
 
     RewriteEngine On
     RewriteBase /
 
-    RewriteRule ^$ /s?myapp-dev/tip/doc/index.txt [L]
+    RewriteRule ^$ /s/myapp-dev/tip/doc/index.txt [L]
     
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
-    RewriteRule ^v/([^/]*)/(.*)$ /s?myapp-dev/$1/doc/$2 [L]
+    RewriteRule ^v/([^/]*)/(.*)$ /s/myapp-dev/$1/doc/$2 [L]
 
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
-    RewriteRule ^(.*)$ /s?myapp-dev/tip/doc/$1 [L]
+    RewriteRule ^(.*)$ /s/myapp-dev/tip/doc/$1 [L]
 
 
 Run Slipper server in background