Why? The following parameters are not included in the url. I don't know why nbsp; the original urlPHPcodeRewriteRule asked an apache rewrite rule question.
A few days ago, I wrote a new url rule like a url rule, but I matched it with. html? The following parameters are not included in the url. why?
Original url
PHP code
RewriteRule ^/mall(?:\/([a-zA-Z0-9]+)(?:-([a-zA-Z0-9]+)(?:-([a-zA-Z0-9]+)(?:-([a-zA-Z0-9]+))?)?)?(?:-web2_([a-zA-Z0-9]+))?)\.html?$ /rebategoods.php?class=$1small_class=
= OnDoc_root =/usr/local/apache/htdocsUser_dir =/home/Albert TXU/htdocsII. As CGIYou need to be very careful when running PHP in CGI Mode, which may expose information that you do not want to know.The first thing to note is to place the execution file outside the root directory of the document. For example,/usr/local/bin. Therefore, all CGI files must start:#! /Usr/local/bin/phpTo prevent the user from calling CGI directly, force CGI redirection in A
Article title: linux fault recovery skills. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Author: Arthur Reid
No matter what operating system you are running, in many cases, you will face disaster recovery operations. Your primary boot area is overwritten, your hard disk cannot be started, or an important file is deleted, or your display card will flash
: safe_mode = On doc_root =/usr/local/apache/htdocs user_dir =/home/Albert TXU/htdocs 2. be careful when running PHP in CGI Mode as CGI, it may expose information that you do not want to know. The first thing to note is to place the execution file outside the root directory of the document. For example,/usr/local/bin. Therefore, all CGI files must start :#! /Usr/local/bin/php to prevent the user from directly calling CGI is to force CGI redirection in
$ location to view all the files of other users on the VM. To reduce this risk, we need to take a look at php. ini and modify the safe_mode, doc_root, and usr_dir parameters to restrict users to their own virtual host environments:
Safe_mode = On
Doc_root =/usr/local/apache/htdocs
User_dir =/home/Albert TXU/htdocs
II. as CGI
You need to be very careful when running PHP in CGI mode, which may expose information that you do not want to know.
The first
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.