Which of the following experts will modify the. htaccess content?

Source: Internet
Author: User
Who will change .htaccess beginbootbeta<ifmodulemod_rewrite.c>directoryindexindex.html index. phpOptions + FollowSymLinksRewriteEngineOnRewriteB? who will change the. htaccess content?
# BEGIN Bootbeta

DirectoryIndex index.html index. php
Options + FollowSymLinks
RewriteEngine On
RewriteBase/
RewriteCond % {HTTP_HOST} ^ example.com $ [NC]

RewriteCond % {REQUEST_FILENAME }! -F
RewriteRule ^ abc/(. *) $ abc/$ 1.php

# RewriteCond % {QUERY_STRING} ^ name = (. +) [NC]
# RewriteRule ^ domain. php $/domain/% 1? [R = 301, L]

# END Bootbeta

After entering localhost/123456
Call localhost/del. php to process the page, but the url is still 123456
Del. php gets this 123456
Just like a space blog, how does one resolve it?

Let's take a look at it ~~~~~~~~~~~~

------ Solution --------------------

RewriteCond % {QUERY_STRING} ^ (. *) $
RewriteRule ^/zph/(\ d + )/? $/Del. php? Id = $1 & % 1 [L, NC]

After modification, the server must be restarted to take effect.
------ Solution --------------------
Http://blog.chinaunix.net/uid-20157058-id-1974554.html


PHP code
Options + IncludesSetOutputFilter INCLUDESAcceptPathInfo On
------ Solution --------------------
Discussion

Reference:
RewriteCond % {QUERY_STRING} ^ (. *) $
RewriteRule ^/zph/(\ d + )/? $/Del. php? Id = $1 & % 1 [L, NC]

After modification, the server must be restarted to take effect.
File no 404 found

------ Solution --------------------
Discussion

Reference:

Reference:

Reference:
RewriteCond % {QUERY_STRING} ^ (. *) $
RewriteRule ^/zph/(\ d + )/? $/Del. php? Id = $1 & amp; % 1 [L, NC]

After modification, the server must be restarted to take effect.
File no 404 found

Wrong. sorry, it should be

Re ......

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.