Home | Trees | Index | Help |
|
---|
Package aquarium :: Package urlscheme :: Module PathInfo :: Class PathInfo |
|
AquariumClass
--+ |QueryParameters
--+ | PathInfo
This URL scheme is based on PATH_INFO.
PATH_INFO is used to the set the screen in the URL's. Otherwise, this class is just like aquarium.urlscheme.QueryParameters, which this class derives from.
See aquarium.urlscheme.UrlSchemeAPI.
To change URLs such as http://www.example.com/index.fcgi/fancy_page into URLs such as http://www.example.com/fancy_page under Apache, use mod_rewrite:
<Directory "/var/www/html"> ... # This rewrites the URL so that everything that isn't a static file # goes through index.fcgi. Change the .fcgi to .cgi if you're not # using FastCGI. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.fcgi/$1 [L] </Directory>
Method Summary | |
---|---|
Return a dynamic URL for the given screen. | |
Which screen does the user want to view? | |
Inherited from QueryParameters | |
Extend __init__ to handle proxying. | |
Add the sid to a given dictionary of vars, if appropriate. | |
Add the given vars to the url and return it. | |
Return the default scheme, either http:// or https://. | |
Given a scheme, return the port string, as appropriate. | |
Figure out the URL for the root of this site. | |
Return http:// or https://. | |
Return necessary hidden form fields. | |
Return an URL to an image. | |
Return an URL for something relative to the root URL. |
Method Details |
---|
screen(self, screen, vars=None, secure=-1)Return a dynamic URL for the given screen. |
whichScreen(self)Which screen does the user want to view? |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jan 1 16:34:19 2007 | http://epydoc.sf.net |