On Tue, Jan 26, 2010 at 1:24 PM, Leandro Santiago
<leandrosansi...@gmail.com> wrote:
> I wrote a .htaccess file:
>
> It worked for me with a en.org copy on my computer running Apache2:
>
> <ifModule mod_rewrite.c>
>    RewriteEngine On
>
>    RewriteRule ^(about(/[[:alnum:]]*)?|news|download|support|contribute|
> contact|docs|index)/?$ p.php?p=$1&l=en
>
>    RewriteRule ^news/([[:digit:]]*)$  p.php?p=news/show&l=en&news_id=$1
>
>    RewriteRule ^$ p.php
>
> </IfModule>
>
> So I just modified the file p.php for include /style.css and not style.css
>
> The current links yet work, but are also accessible in the new mode:
>
> /p.php?p=contribute&l=en
>
> and
>
> /contribute
>
> Go to the same page.
>
> The same is valid for
>
> /p.php?p=news/show&l=en&news_id=19
>
> /news/19
>
> I don't know if these rules are Ok, but they were just ideas. I'm not a
> mod_rewrite expert :-)

add language (en, fr...) as namespace, such as /news/en/19 our
/about/en...   /en/news is similarly good


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to