Introduction: This is a detailed page for configuring the clean URL of Drupal. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 332640 'rolling = 'no'>
1. Cancel comments before "loadmodule rewrite_module modules/mod_rewrite.so" in Apache httpd. conf.
2. Find
<Directory "C:/program files/Apache Software Foundation/apache2.2/htdocs"> # possible values for the options directive are "NONE", "all ", # or any combination of: # indexes includes followsymlinks symlinksifownermatch execcgi Multiviews # note that "Multiviews" must be named * explicitly * --- "options all" # doesn't give it to you. # The options directive is both complicated and important. please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # options indexes followsymlinks # AllowOverride controls what directives may be placed in. htaccess files. # It Can Be "all", "NONE", or any combination of the keywords: # options fileinfo authconfig limit # AllowOverride all # controls who can get stuff from this server. # order allow, deny allow from all </directory>
Add in <directory> </directory>
Rewriteengine onrewritebase/rewritecond % {request_filename }! -Frewritecond % {request_filename }! -Drewriterule ^ (. *) $ index. php? Q = $1 [L, QSA]
3. Go to the link http: // localhost /? Q = admin/settings/clean-URLs. select Enabled and save.
More articles on "Configuring Drupal's clean URL"
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/332640.html pageno: 11.