Re: Moving Joomla from subdir to root -> rewrite / redirect problem

2017-12-23 Thread Francis Daly
On Fri, Dec 22, 2017 at 07:57:16PM +0100, Johannes Rohr wrote: > Am 18.12.2017 um 20:36 schrieb Francis Daly: > > On Fri, Dec 15, 2017 at 03:25:20PM +0100, Johannes Rohr wrote: Hi there, > > As in: when I request /web/something, should I get a http redirect so > > that I next request /something;

Re: Moving Joomla from subdir to root -> rewrite / redirect problem

2017-12-22 Thread Johannes Rohr
Am 18.12.2017 um 20:36 schrieb Francis Daly: > On Fri, Dec 15, 2017 at 03:25:20PM +0100, Johannes Rohr wrote: > > Hi there, > > I do not know joomla; and I do not have a direct answer for you. > > But some parts of your question seem unclear to me. > > Perhaps they are also unclear to someone who

Re: Moving Joomla from subdir to root -> rewrite / redirect problem

2017-12-18 Thread Francis Daly
On Fri, Dec 15, 2017 at 03:25:20PM +0100, Johannes Rohr wrote: Hi there, I do not know joomla; and I do not have a direct answer for you. But some parts of your question seem unclear to me. Perhaps they are also unclear to someone who otherwise could give an answer. If you can clarify them, ma

Moving Joomla from subdir to root -> rewrite / redirect problem

2017-12-15 Thread Johannes Rohr
Dear all, in order to have prettier URLs I have decided to move my joomla from /web/ to /, but I want old URLs to transparently redirect. I am struggling how to do this. First I though of something like location /web {   try_files $uri $uri/ /index.php?$args;  } but this obviously did not work

Re: Redirect problem

2015-01-24 Thread Francis Daly
On Sat, Jan 24, 2015 at 12:07:22AM -0500, Kurogane wrote: Hi there, > Can you tell me what is wrong? sometimes i have redirect loop. The config you show looks ok to me. What do the logs say, when you have a redirect loop? Does something in your https site redirect back to http? f --

Redirect problem

2015-01-23 Thread Kurogane
I've a problem with a redirect http https and using non-www Can you tell me what is wrong? sometimes i have redirect loop. server { listen 80; listen [::1]:80; server_name domain.com; return 301 https://www.domain.com$request_uri; } server { listen 80;

Re: Proxy Pass Redirect Problem

2013-12-14 Thread david
Nevermind. I found my error. I was doing kill -HUP and had a typo in my config. I didnt notice until I checked the config. Thank you its working as expected. Sorry for the noise. On 12/13/13 12:48 PM, Maxim Dounin wrote: Hello! On Fri, Dec 13, 2013 at 12:25:02PM -0500, david wrote: Not

Re: Proxy Pass Redirect Problem

2013-12-14 Thread david
Maxim! Thank you. I must of missed something because it does not seem to solve my issue. I removed the $uri param from the proxy_pass. I also tried adding proxy_redirect (But I think that belongs to the @wsgi block and not the @store block. But I am not exactly sure.) Because my understand

Re: Proxy Pass Redirect Problem

2013-12-13 Thread Maxim Dounin
Hello! On Fri, Dec 13, 2013 at 12:25:02PM -0500, david wrote: > Not sure if this is my configuration causing this symptom or openresty. > > Here is whats happening. > > If I try to access the store "admin" > via: http://mysite.com/admin > > I am getting proxy redirects sent to my browser and s

Proxy Pass Redirect Problem

2013-12-13 Thread david
Not sure if this is my configuration causing this symptom or openresty. Here is whats happening. If I try to access the store "admin" via: http://mysite.com/admin I am getting proxy redirects sent to my browser and seeing 127.0.0.1:8000/admin in my address bar. Not exactly the result I was l