Rewrite Help

Riku Räisänen riku at
Fri Sep 14 11:33:05 MSD 2007

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:
> 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 to  
>, 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

Ystävällisin terveisin,

Riku Räisänen
Profian Oy
riku at
+358 400 882030

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list