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 ......