Home > front end >  Questions about PHP deployment server routing rewrite
Questions about PHP deployment server routing rewrite

Time:10-26


Due to test needs, I written in native PHP framework, can according to the url of the stochastic simulation in line with the rest specification data back,

I hid the locally index. PHP entry documents, and configure the virtual domain name, url:http://tc.com/jobs/can return data,

Directory structure is

Site directory WWW
Subdirectories index. PHP/app/MilFun

Visit http://tc.com/jobs/, if the app directory without jobs. PHP is automatically created, so will perform the corresponding functions,

But I deployed nginx, is said to be prompted to find files,

Is to change the default. The conf? Or under the site write.htaccess file?

How do you write?
  • Related