Re: Buitwith.com showing apache and nginx both.

2016-06-01 Thread Muhammad Yousuf Khan
Thanks for the tip Francis, really appreciate. Thanks, MYK On Wed, Jun 1, 2016 at 1:24 AM, Francis Daly <fran...@daoine.org> wrote: > On Tue, May 31, 2016 at 07:04:30PM +0500, Muhammad Yousuf Khan wrote: > > Hi there, > > > When i scan my site with builtwith.com it is

Buitwith.com showing apache and nginx both.

2016-05-31 Thread Muhammad Yousuf Khan
When i scan my site with builtwith.com it is showing that i am using both nginx and apache. however i have completely moved my site from apache to nginx. Though previously it was on Apache which i uninstalled after installing nginx. Now i am woundering why its showing both. i check netstat its

Re: Trailing Slash redirection poblem

2016-05-04 Thread Muhammad Yousuf Khan
Thanks for the info. will check on that. On Wed, May 4, 2016 at 12:22 AM, Francis Daly <fran...@daoine.org> wrote: > On Mon, May 02, 2016 at 05:48:12PM +0500, Muhammad Yousuf Khan wrote: > > Hi there, > > > Thanks for the reply, actually we have 5 categories. and then

Re: Trailing Slash redirection poblem

2016-05-02 Thread Muhammad Yousuf Khan
like this. https://.com/catagory (with out trailing slash) This is all what they want. Thanks, Yousuf On Mon, May 2, 2016 at 2:18 PM, Francis Daly <fran...@daoine.org> wrote: > On Sun, May 01, 2016 at 01:16:51PM +0500, Muhammad Yousuf Khan wrote: > > Hi there, > > >

Re: Trailing Slash redirection poblem

2016-05-01 Thread Muhammad Yousuf Khan
just want to make it more clear that when i comment out this line #try_files $uri $uri.html $uri/ /index.php?q=$request_uri; error become 404 from redirection loop error. On Sun, May 1, 2016 at 1:16 PM, Muhammad Yousuf Khan <sir...@gmail.com> wrote: > > >>The configuration y

Trailing Slash redirection poblem

2016-04-30 Thread Muhammad Yousuf Khan
Dear All, Need some help to remove trailing Slash. I have been trying to remove the trailing slash with this redirection rule. rewrite ^/(.*)/$ /$1 permanent; however it is creating a loop. curl -I https://.com/live/ HTTP/1.1 301 Moved Permanently Server: nginx/1.6.2 Date: Sat, 30 Apr 2016

Re: nginx access_log Buffer size, service not restarting

2016-04-28 Thread Muhammad Yousuf Khan
Thanks, got it. and it worked too. Thanks alot. On Wed, Apr 27, 2016 at 7:04 PM, Maxim Dounin <mdou...@mdounin.ru> wrote: > Hello! > > On Wed, Apr 27, 2016 at 05:29:03PM +0500, Muhammad Yousuf Khan wrote: > > > i am trying to increase the buffer size of access_log > &

nginx access_log Buffer size, service not restarting

2016-04-27 Thread Muhammad Yousuf Khan
i am trying to increase the buffer size of access_log i have tried different options but all giving me errors access_log /var/log/nginx/www.x.com/access.log main buffer=1024k; access_log /var/log/nginx/www.x.com/access.log compression buffer=1024k; access_log

Re: Redirection problem again in new rules.

2016-04-20 Thread Muhammad Yousuf Khan
<fran...@daoine.org> wrote: > On Mon, Apr 18, 2016 at 06:37:59PM +0500, Muhammad Yousuf Khan wrote: > > Hi there, > > > Thanks alot Francis Daly :). the try_file option worked for me and > location > > tip also worked but try_file seems more better approach. > &

Re: Redirection problem again in new rules.

2016-04-18 Thread Muhammad Yousuf Khan
Thanks alot Francis Daly :). the try_file option worked for me and location tip also worked but try_file seems more better approach. Btw, can you please explain this paragraph. actually i am really sorry for this newbie type question. actually i have been working as ssytem admin for last 5 years.

Re: Redirection problem again in new rules.

2016-04-16 Thread Muhammad Yousuf Khan
clue. any advice would be highly appreciated. Thanks, Yousuf On Fri, Apr 15, 2016 at 9:35 PM, Francis Daly <fran...@daoine.org> wrote: > On Fri, Apr 15, 2016 at 12:27:11PM +0500, Muhammad Yousuf Khan wrote: > > Hi there, > > > Sorry for the mistake in a's and b's i

Re: Redirection problem again in new rules.

2016-04-15 Thread Muhammad Yousuf Khan
@daoine.org> wrote: > On Thu, Apr 14, 2016 at 07:03:19PM +0500, Muhammad Yousuf Khan wrote: > > Hi there, > > > there are multiple apache redirection rules that were working > successfully. > > for example something like this > > > > Redirect 301 //bbb

Redirection problem again in new rules.

2016-04-14 Thread Muhammad Yousuf Khan
Hi, there are multiple apache redirection rules that were working successfully. for example something like this Redirect 301 //bbb /a/bb.html Now i have converted this rule in nginx like this location // { rewrite ^(.*)$ //bb.html redirect; } i also

Re: Redirection 301 create "Redirection loop" while using wordpress site.

2016-04-13 Thread Muhammad Yousuf Khan
2 options under Settings/General, > "Wordpress Address (URL)" and "Site Address (URL)". > > On 12/04/2016 15:32, Muhammad Yousuf Khan wrote: > > Dear All, > > I am very new to nginx and trying to learn it from very basic. i have a > website and i am willing t

Redirection 301 create "Redirection loop" while using wordpress site.

2016-04-12 Thread Muhammad Yousuf Khan
Dear All, I am very new to nginx and trying to learn it from very basic. i have a website and i am willing to remove the "www" before my actual domain name. the solution so far i have find out on google is very simple. so when ever any of the visitor visits my website by using www.xxx.com he