The PATH_INFO method is used to enable search engines to hide index. php. I am used to using PATH_INFO to make search engines friendly, such as www. xxx. comindex. phpmodulexxxactionxxxidxxx but index. php can see that the extension is very uncomfortable, so I am used to using PATH_INFO to achieve search engine friendliness, such:
Http://www.xxx.com/index.php/module/xxx/action/xxx/id/xxx
However, index. php cannot see the extension. the solution is as follows:
How to hide an application: for example,. php, the extension:
Configure in APACHE as follows:
ForceType application/x-httpd-php
How to make a static page more like: app_name/my/app.html
When the path_infoworkflow is complete, you can cut off the last 5“.html in the last step.
Note: in APACHE2, PATH_INFO is not allowed by default. you need to set AcceptPathInfo on
Http://www.xxx.com/index/module/xxx/action/xxx/id/xxx
Refer http://www.xxx.com/index.php/module/xxx/action/xxx/id/xxx but index. php can see the extension is very uncomfortable, solve...