Hello all, my webhost only offers Python in CGI mode, so I'm currently using cgihandler.py which works reasonably well.
My current URL is http:/host/cgihandler.py/ which shows the main page of my application just fine. However, I'd like the URL to be just http://host/ without the cgihandler.py/ part. Things I have tried in .htaccess: * ScriptAlias / /cgihandler.py/ - Just results in HTTP 500 * RewriteRule ^/(.*) /cgihandler.py/$1 - Just results in HTTP 404 for http://host/ and "invalid function default/cgihandler" for http://host/cgihandler.py/ * AliasMatch ^/(.*) /cgihandler.py/$1 - HTTP 500 again So, I have a feeling I'm missing something fundamental here - any clues? My routes.py: routers = dict( # base router BASE = dict( default_application = "Sarge", #path_prefix = "cgihandler.py", ), ) Of course, path_prefix is enabled for regular operation where I use the cgihandler.py suffix in the URL. Kind regards, Michael -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

