Rewrite Help

BJ Clark bjclark at scidept.com
Fri Sep 14 21:42:47 MSD 2007


Riku,
Worked great.
I needed to pass post params through, and this did that (even though  
you thought it wouldn't).

Thanks,
-----
BJ Clark
the science department
bjclark at scidept.com
www.scidept.com


On Sep 14, 2007, at 1:33 AM, Riku Räisänen wrote:

> location /sessions/create {
> 	rewrite ^.*$ /sessions;
> }
>
> This would be transparent to the user. Doesn't pass anything along,  
> but you've already got it in the code so I guess you can figure it  
> out if you need it.
>
> BJ Clark kirjoitti 14.9.2007 kello 8:05:
>
>> Hello All.
>> I'm trying to rewrite /sessions/create to just be /sessions but  
>> I'm having a very hard time.
>>
>> I have posted my full .conf file here: http://pastie.caboo.se/97090
>>
>> You can see, i've tried many things, but none seem to work. The  
>> one that is uncommented, starting at line 46, seems to be closest,  
>> but it's forwarding me from subdomain.domain.com/sessions/create  
>> to www.none.com/sessions, which doesn't make much sense to me.
>>
>> Does anyone have any suggestions on what I can do?
>>
>> Thanks,
>> -----
>> BJ Clark
>> the science department
>> bjclark at scidept.com
>> www.scidept.com
>>
>>
>
> Ystävällisin terveisin,
>
> Riku Räisänen
> HelloIT
> Profian Oy
> riku at helloit.fi
> +358 400 882030
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070914/275e8028/attachment.html>


More information about the nginx mailing list