Welcome! Log In Create A New Profile

Advanced

Re: SEO Friendly Urls

adam estes
March 03, 2012 10:28PM
Aha! That did it :)

Thank you.

On Sat, Mar 3, 2012 at 9:33 PM, Cliff Wells <cliff@develix.com> wrote:
> On Sat, 2012-03-03 at 20:30 -0500, adam estes wrote:
>> I'm attempting to use Nginx to server a CodeIgniter Script.
>>
>> Code Igniter uses SEO Friendly scripts (AKA, only uses / instead of ?)
>>
>> This works fine when I try and use it on Apache. Trying to setup my
>> own VPS with Code Igniter through NGINX only leans to a pain.
>>
>> The server is setup with the base folder being a phpbb form, and a
>> codeigniter script in the folder /fg152/
>>
>> I'm trying to get the nginx to recognize that index.php/login is
>> supposed to be a query for code igniter, not a file of its own.
>>
>> I tried every configuration on this link.
>>
>> http://codeigniter.com/forums/viewthread/90231/
>>
>> My current Nginx conf looks like this.
>>
>>
>>                 location /fg152/ {
>>                         root /home/sites/domain/fg152/;
>>                         index index.php;
>>                         try_files $uri $uri/ /fg152/index.php;
>>
>>                 }
>
>
>> The images are located at /fg152/application/views/images/
>
>
> Try this instead:
>
>                location /fg152 {
>                         root /home/sites/domain;
>                         index index.php;
>                         try_files $uri $uri/ /fg152/index.php;
>                 }
>
> Remember that the location is appended to the root, so your
> configuration would lead to /home/sites/domain/fg152/fg152, which I
> don't think is what you intended.
>
> Regards,
> Cliff
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

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

SEO Friendly Urls

adam estes March 03, 2012 08:32PM

Re: SEO Friendly Urls

Cliff Wells March 03, 2012 09:34PM

Re: SEO Friendly Urls

adam estes March 03, 2012 10:28PM

Re: SEO Friendly Urls

adam estes March 04, 2012 12:20AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 12:24AM

Re: SEO Friendly Urls

adam estes March 04, 2012 12:30AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 12:36AM

Re: SEO Friendly Urls

adam estes March 04, 2012 12:40AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 12:42AM

Re: SEO Friendly Urls

adam estes March 04, 2012 12:48AM

Re: SEO Friendly Urls

adam estes March 04, 2012 01:06AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 01:08AM

Re: SEO Friendly Urls

adam estes March 04, 2012 01:10AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 01:14AM

Re: SEO Friendly Urls

adam estes March 04, 2012 01:18AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 01:28AM

Re: SEO Friendly Urls

adam estes March 04, 2012 01:28AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 01:38AM

Re: SEO Friendly Urls

adam estes March 04, 2012 01:42AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 02:00AM

Re: SEO Friendly Urls

adam estes March 04, 2012 02:02AM

Re: SEO Friendly Urls

Edho Arief March 04, 2012 07:08AM

Re: SEO Friendly Urls

Valentin V. Bartenev March 04, 2012 08:16AM

Re: SEO Friendly Urls

adam estes March 04, 2012 09:58PM

Re: SEO Friendly Urls

Francis Daly March 04, 2012 08:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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