Re: handling subdirectories location

2015-06-10 Thread Francis Daly
On Wed, Jun 10, 2015 at 05:00:56PM -0300, Thiago Farina wrote: > On Mon, Jun 8, 2015 at 9:59 PM, Francis Daly wrote: Hi there, > OK. Based on your response I will hold on on what I was trying to do for now. > > It seems it is not the way I should go. Ok. I was intrigued to see what was happen

Re: handling subdirectories location

2015-06-10 Thread Thiago Farina
Hi Francis, On Mon, Jun 8, 2015 at 9:59 PM, Francis Daly wrote: > On Mon, Jun 08, 2015 at 08:53:45PM -0300, Thiago Farina wrote: >> On Mon, Jun 8, 2015 at 8:26 PM, Francis Daly wrote: >> > On Mon, Jun 08, 2015 at 08:08:10PM -0300, Thiago Farina wrote: > > Hi there, > OK. Based on your response I

Re: handling subdirectories location

2015-06-08 Thread Francis Daly
On Mon, Jun 08, 2015 at 08:53:45PM -0300, Thiago Farina wrote: > On Mon, Jun 8, 2015 at 8:26 PM, Francis Daly wrote: > > On Mon, Jun 08, 2015 at 08:08:10PM -0300, Thiago Farina wrote: Hi there, > >> server { > >> listen 80; > >> server_name domainame.com; > >> > >> root /data/

Re: handling subdirectories location

2015-06-08 Thread Thiago Farina
On Mon, Jun 8, 2015 at 8:26 PM, Francis Daly wrote: > On Mon, Jun 08, 2015 at 08:08:10PM -0300, Thiago Farina wrote: >> On Mon, Jun 8, 2015 at 7:46 PM, Francis Daly wrote: >> > On Mon, Jun 08, 2015 at 02:07:54PM -0300, Thiago Farina wrote: > > Hi there, > >> server { >> listen 80; >>

Re: handling subdirectories location

2015-06-08 Thread Francis Daly
On Mon, Jun 08, 2015 at 08:08:10PM -0300, Thiago Farina wrote: > On Mon, Jun 8, 2015 at 7:46 PM, Francis Daly wrote: > > On Mon, Jun 08, 2015 at 02:07:54PM -0300, Thiago Farina wrote: Hi there, > server { > listen 80; > server_name domainame.com; > > root /data/www/domainame.

Re: handling subdirectories location

2015-06-08 Thread Thiago Farina
Hi Francis, First, thanks for replying. On Mon, Jun 8, 2015 at 7:46 PM, Francis Daly wrote: > On Mon, Jun 08, 2015 at 02:07:54PM -0300, Thiago Farina wrote: > > Hi there, > >> What I'm trying to do is something like the following: >> >> http://domainame.com/site1/index.php >> http://domainame.co

Re: handling subdirectories location

2015-06-08 Thread Francis Daly
On Mon, Jun 08, 2015 at 02:07:54PM -0300, Thiago Farina wrote: Hi there, > What I'm trying to do is something like the following: > > http://domainame.com/site1/index.php > http://domainame.com/site2/index.php > http://domainame.com/site3/index.php In nginx, one request is handled in one locati

Re: handling subdirectories location

2015-06-08 Thread Thiago Farina
What I'm trying to do is something like the following: http://domainame.com/site1/index.php http://domainame.com/site2/index.php http://domainame.com/site3/index.php The closest I could find on Google was http://programmersjunk.blogspot.com.br/2013/11/nginx-multiple-sites-in-subdirectories.html

Re: handling subdirectories location

2015-06-07 Thread Thiago Farina
The issue I'm facing is that http://myservername.com/foo/index.php/secure/login redirects to http://myservername.com/index.html. Can someone help me fix this? -- Thiago Farina ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

handling subdirectories location

2015-06-07 Thread Thiago Farina
Hi, I have the following in my nginx configuration: server { listen 8080; server_name myservername.com; root /data/www/myservername.com; location / { index index.php index.html index.htm; try_files $uri $uri/ /index.html; } # redirect server error