Welcome! Log In Create A New Profile

Advanced

Useing local conf file

Posted by xtz 
xtz
Useing local conf file
August 09, 2013 10:22AM
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?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 118
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready