Welcome! Log In Create A New Profile

Advanced

Re: rewrite or return directives for discuz v3.1

Jonathan Matthews
December 04, 2013 06:48AM
On 4 December 2013 07:54, r004 <nginx-forum@nginx.us> wrote:
> hello;
> I want to write a block to put in my VHOST config file.
> i want
> 1. if there is "/install/index.php/" in the link. it shouldbe removed from
> the link.
> 2. if the format is like /uc_server/blab.php/uc_server/blahblah ===it
> should change to===>/uc_server/blabal
>
> what should I put in my VHOST config file and where?

What part are you having difficulties with?

Have you read the documentation for "location" and "rewrite"? Have a
read of that, and then let us know if you're still having a problem.

J

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

rewrite or return directives for discuz v3.1

r004 December 04, 2013 02:54AM

Re: rewrite or return directives for discuz v3.1

Jonathan Matthews December 04, 2013 06:48AM

Re: rewrite or return directives for discuz v3.1

Francis Daly December 04, 2013 03:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
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