Hello Fran, That configuration would be translated as:
- Extension PHP: Handler fcgi, non-final - File Exists: Handler file, final - Default: Handler redir, Regex: /(.*)$ Substitution: /index.php?p=/$1 On 03/06/2010, at 22:58, frantishrek wrote: >> >> How strict is your app, because you can just regexp it... > > No, it does not work. > > Status.net provides a .htaccess sample : > -- > <IfModule mod_rewrite.c> > RewriteEngine On > > # NOTE: change this to your actual StatusNet base URL path, > # minus the domain part: > # > # http://example.com/ => / > # http://example.com/mublog/ => /mublog/ > # > RewriteBase /mublog/ > > ## Uncomment these if having trouble with API authentication > ## when PHP is running in CGI or FastCGI mode. > # > #RewriteCond %{HTTP:Authorization} ^(.*) > #RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule (.*) index.php?p=$1 [L,QSA] > </IfModule> > -- > > So, I have just created a redirection > Regular expression : ^(.*)$ > substitution : /index.php?p=$1 > > Everything is ok, except URLs with ?page=2 > > How can I convert this .htaccess ? > > Thanks, > Fran' > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
