Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Useing local conf file

$
0
0
I want to "rewrite module", but nginx.com, since I use shared hosting

My account root is : /home/user/
My web page root is /home/user/www/
Site is here: http://user.site.net

What I can do?


Since it is so easy for who know, I ask one more question.
I want files of the form:

http://user.site.com/path/file{value}.php
(here value is any escaped string)

to be executed in /home/user/www/path/file.php

where $_GET['url'] must be "value" (see above).
What to write exactly to conf file, to have this functionality?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>