Nginx location, return and rewrite directives
I am having a hard time learning to do return and rewrite directives.
the conditions are like gibberish to me. I am trying to learn by example, so I made one up. in the htdocs of my server we have this file and folders. Code:
~:#>ls htdocs Code:
~:#> ls /htodcs/uc_server Code:
location /uc_server/ { B.) I want these to happen: Code:
http://DOMAIN.DOM/uc_server/admin.php/uc_server/ ===changes to===> http://DOMAIN.DOM/uc_server/ if there is ...../install/index.php/.... in any requested links ;the "/install/index.php/" part would be omitted and the link would processed without that part. THANKS ALOT |
All times are GMT -5. The time now is 02:31 PM. |