#1 星云无限
apache 日志[Thu Sep 03 21:14:41 2015] [notice] Apache/2.2.22 (Win32) PHP/5.3.13 configured -- resuming normal operations
[Thu Sep 03 21:14:41 2015] [notice] Server built: Jan 28 2012 11:16:39
[Thu Sep 03 21:14:41 2015] [notice] Parent: Created child process 3612
[Thu Sep 03 21:14:41 2015] [notice] Child 3612: Child process is running
[Thu Sep 03 21:14:41 2015] [notice] Child 3612: Acquired the start mutex.
[Thu Sep 03 21:14:41 2015] [notice] Child 3612: Starting 64 worker threads.
[Thu Sep 03 21:14:41 2015] [notice] Child 3612: Starting thread to listen on port 80.
[Thu Sep 03 21:20:12 2015] [error] [client 192.168.1.226] script 'C:/amp/Apache/htdocs/main-search.html' not found or unable to stat, referer: http://192.168.1.125/index.php
[Thu Sep 03 21:20:13 2015] [error] [client 192.168.1.226] script 'C:/amp/Apache/htdocs/main-search.html' not found or unable to stat, referer: http://192.168.1.125/index.php
[Thu Sep 03 21:34:39 2015] [error] [client 192.168.1.226] script 'C:/amp/Apache/htdocs/search.html' not found or unable to stat, referer: http://192.168.1.125/index.php
[Thu Sep 03 21:34:40 2015] [error] [client 192.168.1.226] script 'C:/amp/Apache/htdocs/search.html' not found or unable to stat, referer: http://192.168.1.125/index.php
[Thu Sep 03 21:34:40 2015] [error] [client 192.168.1.226] script 'C:/amp/Apache/htdocs/search.html' not found or unable to stat, referer: http://192.168.1.125/index.php
[Thu Sep 03 21:34:42 2015] [error] [client 192.168.1.226] client denied by server configuration: C:/amp/Apache/htdocs/.htaccess
[Thu Sep 03 21:34:44 2015] [error] [client 192.168.1.226] client denied by server configuration: C:/amp/Apache/htdocs/.htaccess
[Thu Sep 03 21:34:50 2015] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Sep 03 21:34:50 2015] [notice] Child 3612: Exit event signaled. Child process is ending.
.htaccess
BEGIN
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
END
设置如下
LoadModule rewrite_module modules/mod_rewrite.so
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
2015-09-03 21:46:16