httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] close to success with RewriteRule
Date Tue, 16 Sep 2008 17:23:31 GMT
On Tue, Sep 16, 2008 at 1:21 PM, Alain Roger <raf.news@gmail.com> wrote:
> so if i understood well:
> RewriteBase http://my_ip_address/myroot/
> RewriteRule ^(de|en|fr)/welcome/$    welcome/index.php?lang=$1 [L]
>
> should work ?

No, the RewriteBase is just the url-path (not protocol/host/post)

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritebase

welcome/inde.php also has to be valid relative to your htaccess


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message