Welcome! Log In Create A New Profile

Advanced

Re: PHP to Apache - Friendly URLs fail with VBulletin

Aleksandar Lazic
August 21, 2014 06:40AM
Hi mkools.

Am 20-08-2014 23:39, schrieb mkools:
> I'm using nginx for all static web content and forward all PHP requests
> to
> Apache. This works great when I type e.g. http://domain.com/index.php.
>
> However, vbulletin will convert any link to e.g.:
> http://domain.com/threads/threadtopic or
> http://domain.com/search.php?do=getnew.
> So no more .php extension and when I click the topic now it just
> reloads the
> forum's main page where I already was.
>
> How can I tell nginx to also forward *.php? to apache? And how to
> handle the
> vbulletin rewrites? Do I need to move the .htaccess to nginx?
>
> Here's my .htaccess

[snipp]

Have you take a look at

http://nginx.org/en/docs/http/converting_rewrite_rules.html
http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files

or the worst case ;-)

http://lmgtfy.com/?q=vbulletin+nginx

=> First link in my response
https://www.vbulletin.com/docs/html/main/preparefiles_nginx

and as your now on learning and reading maybe this link will help you
too.

http://nginx.org/en/docs/http/request_processing.html

Cheers
Aleks

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

PHP to Apache - Friendly URLs fail with VBulletin

mkools August 20, 2014 05:39PM

Re: PHP to Apache - Friendly URLs fail with VBulletin

Aleksandar Lazic August 21, 2014 06:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready