Welcome! Log In Create A New Profile

Advanced

Useing local conf file

Posted by xtz 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
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?

Online Users

Guests: 118
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready