Welcome! Log In Create A New Profile

Advanced

Can someone help me with mod_rewrite

Posted by TommyGFX 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Can someone help me with mod_rewrite
May 07, 2009 06:15AM
Can someone help me?

How can I mod-rewrite rules from apache to nginx configuration?



RewriteRule ^forums$|^forums/$ index.php [R=301,L]
RewriteRule ^forums/([-_a-zA-Z0-9]{3,30})$ forums/$1/ [R=301,L]
RewriteRule ^forums/([-_a-zA-Z0-9]{3,30})/(.*)$ phpBB3/$2?access_name=$1 [QSA,L]
Re: Can someone help me with mod_rewrite
May 07, 2009 09:32AM
I'm not an expert by any means but you can try:


[code]
loctation /forums {
rewrite ^/forums$ /index.php last;
rewrite ^/forums/$ /index.php last;
rewrite "/forums/([-_a-zA-Z0-9]{3,30})$" /forums/$1/ last;
rewrite "/forums/([-_a-zA-Z0-9]{3,30})/(.*)$" /phpBB3/$2?access_name=$1 last;
}
[/code]


It's possible someone on the phpBB boards has solved this. If these don't work you can try there.

--
Jim Ohlstein
Re: Can someone help me with mod_rewrite
May 07, 2009 02:43PM
thx it works :)
Re: Can someone help me with mod_rewrite
October 03, 2009 02:34PM
If the views I do it. http://www.phpbb-3.de/forums/ehcwels/

But now I want to click on a forum or topic, it is no longer a

Webmaster of www.Pic-City.de

Online Users

Guests: 157
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready