Rewrite Help
Riku Räisänen
riku at helloit.fi
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: 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/9252d75f/attachment.html>
More information about the nginx
mailing list