The following error code is displayed when you jump to the page of wordpress debugged locally by the blacklist workstation: Objectnotfound! TherequestedURLwasnotfoundonthisserver. Thelinkonthereferringpageseemstobewrongoroutdated. Pleaseinformtheauth
Blacklist workstation
The following error code is displayed when the locally debugged wordpress jumps to the page:
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
192.168.1.1
12/09/09 03:58:41
Apache/2.2.9 (APMServ) mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6
Only the home page can be displayed normally, and files in the absolute path can be accessed normally. However, if you click the link on the home page, the connection fails and the above error code is displayed. After restoring WordPress and the database, find the cause of the error. I used static pages in the fixed link in the wordpress background settings, so that Apache cannot be parsed normally.
To make wordpress successfully use static pages, we must enable support for static page resolution in APMServ. My APMServ version is 5.2.6. the following uses version 5.2.6 as an example to describe my solution.
First, open the installation directory of your APM and find APMServ5.2.6Apacheconfhttpd. conf. to prevent exceptions, it is best to back up one before modification.
Note: it is best to use editplus, notepad ++ and other professional editors to edit such text editing files. you cannot use notepad. Otherwise, there will be encoding problems after saving. remember.
Find the following text
# APMServ default virtual host
NameVirtualHost *: 80
ServerName *
DocumentRoot "F:/mihuashu/APMServ5.2.6/www/htdocs"
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index. php default. php index. cgi default. cgi index. pl default. pl index.shtml
AllowOverride Options FileInfo
Order Deny, Allow
Allow from all
Change
# APMServ default virtual host
NameVirtualHost *: 80
ServerName *
DocumentRoot "F:/mihuashu/APMServ5.2.6/www/htdocs"
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index. php default. php index. cgi default. cgi index. pl default. pl index.shtml
AllowOverride Options FileInfo
Order Deny, Allow
Allow from all
RewriteEngine On
RewriteRule ^ (. *)/archiver/([a-z0-9-]+.html) $1/archiver/index. php? $2
RewriteRule ^ (. *)/forum-(%0-9%%*-(%0-9%%%%%%%.html $1/forumdisplay. php? Fid = $2 & page = $3
RewriteRule ^ (. *)/thread-(0-9000000000000-(0-9000000000000-(0-90000000000000000.html $1/viewthread. php? Tid = $2 & extra = page \ % 3D $4 & page = $3
RewriteRule ^ (. *)/profile-(username | uid316-(.20.20..html $1/viewpro. php? $2 = $3
Save and restart APMServ to make it take effect. at this time, we will find that WordPress supports static pages perfectly.