Hello,
Does the bridge work in Nginx? With htaccess not being in Nginx, the rewrite rules can not be applied. Can these be converted somehow, or must I use Apache?
Thanks
Nginx - htaccess
Ultimate bridge for connecting Joomla! and phpBB 3.
Forum rules
This forum is not for any support questions/issues/features. Please use Support Center for such requests.
This forum is not for any support questions/issues/features. Please use Support Center for such requests.
- Admin
- Site Admin
- Posts: 1078
- Joined: October 21st, 2008, 6:39 pm
- Name: Administrator
- Browser: Chrome
Re: Nginx - htaccess
Here is sample config part:
There is nice tool to convert htaccess rules into Nginx config:
https://winginx.com/en/htaccess
Code: Select all
location / {
if ($request_filename ~ /phpBB3(.?)$){
rewrite ^(.*)$ /forum redirect;
}
if ($request_filename ~ /phpBB3/index.php){
rewrite ^(.*)$ /forum?$query_string redirect;
}
if ($request_filename ~ /phpBB3/ucp.php){
rewrite ^(.*)$ /forum/user?$query_string redirect;
}
if ($request_filename ~ /phpBB3/viewforum.php){
rewrite ^(.*)$ /forum/forum?$query_string redirect;
}
if ($request_filename ~ /phpBB3/viewtopic.php){
rewrite ^(.*)$ /forum/topic?$query_string redirect;
}
if ($request_filename ~ /phpBB3/memberlist.php){
rewrite ^(.*)$ /forum/members?$query_string redirect;
}
if ($request_filename ~ /phpBB3/report.php){
rewrite ^(.*)$ /forum/report?$query_string redirect;
}
if ($request_filename ~ /phpBB3/posting.php){
rewrite ^(.*)$ /forum/post?$query_string redirect;
}
if ($request_filename ~ /phpBB3/mcp.php){
rewrite ^(.*)$ /forum/moderator?$query_string redirect;
}
}
https://winginx.com/en/htaccess
Jump to
- Joomla Extensions
- ↳ p8pBB bridge
- ↳ Community Builder
- ↳ JomSocial
- ↳ AlphaUserPoints
- ↳ Xmap
- ↳ Styles
- ↳ MODs
- ↳ MightySites
- ↳ Alter Reports
- ↳ Alter Glossary
- ↳ Alter Surveys
- ↳ Alter Articles
- ↳ Alter Optimizer
- ↳ Alter Fields
- ↳ Alter Tags
- ↳ Direct Alias
- ↳ AJAX toggler
- ↳ p8pBB comments
- ↳ Modulation
- ↳ GSearch
- Related discussions
- ↳ Joomla extensions
- ↳ Joomla templates and styles
- ↳ Coding
- ↳ Test Forum
- AlterBrains website
- ↳ News
- Board index
- All times are UTC-05:00
- Delete cookies
- Contact us