• I would be really grateful for some help with this problem. I’m sure it is simple when I found out!

    I checked my server logs and find only one error, which is repeated from various ip addresses, including my own:
    [error] [client x.x.x.x] File does not exist: /home/peaceand/public_html/index.php

    I know the file does not exist. My home page is index.html. I don’t need php for my home page. I have two wordpress installations, both in subdirectories of public_html. But I don’t think they’re relevant because they are in subdirectories.

    This problem is happening at my home page and http://peaceandtruth.com/contact.html only. And it is intermittent.

    Try loading my home page with firebug net panel running. http://peaceandtruth.com

    If you press refresh several times, you should at some point see ‘Get peaceandtruth.com aborted’, in red writing. The following line says ‘get peaceandtruth.com 304 not modified’.

    Can anyone help me find out where this error is coming from?

    Here is my .htaccess file:

    Options -Indexes
    
    # uncomment this option if hotlink protection fails to work
    Options +FollowSymLinks
    
    # verify presence of mod rewrite
    <IfModule mod_rewrite.c>
    
     # enable the rewrite engine
     RewriteEngine on
    
     # check that file exists
     RewriteCond %{REQUEST_FILENAME} -f
    
     # check for requested file types
     # include additional file types here
     RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$                [NC]
    
     # allow blank referrer requests
     RewriteCond %{HTTP_REFERER}     !^$
    
     # allow all requests from your domain
     # edit the domain to match your own
     #RewriteCond %{HTTP_REFERER}     !^https?://([^.]+\.)?peaceandtruth.com\.([^.]+\.)?      [NC]
    
     # allow all requests from your ip address
     # edit the ip address to match your own
     # RewriteCond %{HTTP_REFERER}     !^https?://123\.123\.123\.123(.*)$ [NC]
    
     # additional site access
     # include additional sites here replace domain names and or
     # remove unnecessary lines or add new lines for more sites
    RewriteCond %{HTTP_REFERER}     !^https?://([^.]+\.)?peaceandtruth\.([^.]+\.)?   [NC]
    RewriteCond %{HTTP_REFERER}     !^https?://([^.]+\.)?cambridgeincolour\.([^.]+\.)?   [NC]
    
     # search engine access
     # include or remove search engines feed readers and other sites
     RewriteCond %{HTTP_REFERER}     !search\?q=cache                   [NC]
     RewriteCond %{HTTP_REFERER}     !google\.                          [NC]
     RewriteCond %{HTTP_REFERER}     !yahoo\.                           [NC]
    
     # allow access to all requests for your anti hotlink image
     # to serve an image instead of delivering a 403 error
     # uncomment the next line and edit the path and file name
    RewriteCond %{REQUEST_URI}    !^/resources/hotlink\.jpg$                   [NC]
    
     # deliver the hotlink image for all requests for the listed files
     # protect additional file types by editing the list below
     # if you are serving a file instead of a 403
     # uncomment the next line and edit the path and file name
    RewriteRule \.(gif|jpe?g?|png)$ http://peaceandtruth.com/resources/hotlink.jpg    [R,NC,L]
    
     # return a 403 error when any of the following file types is requested
     # you can protect additional file types by editing the list below
    # RewriteRule \.(gif|jpe?g?|png)$                                  - [F,NC,L]
    
    # close the module container
    </ifModule>
    
    # protect the htaccess file
    <files .htaccess>
    order allow,deny
    deny from all
    </files>
    
    # protect wpconfig.php
    <files wp-config.php>
    order allow,deny
    deny from all
    </files>
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName peaceandtruth.com
    AuthUserFile /home/peaceand/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/peaceand/public_html/_vti_pvt/service.grp

    There is more stuff specific to my wordpress installations in the wordpress subdirectories/.htaacess

Viewing 4 replies - 1 through 4 (of 4 total)
  • Unable to duplicate.

    Thread Starter oldmankit

    (@oldmankit)

    Wow, that’s concise. Could you explain a bit more please?

    I think it speaks for itself but . . . loaded your contact page and/or home page in ff with firebug running. Refreshed each 10-12 times.
    No error message. Checked source code. Checked validation. No visible errors.

    In other words, unable to duplicate.

    Thread Starter oldmankit

    (@oldmankit)

    Oh sorry, I didn’t understand. Now I get it. Thanks for checking for me.

    That’s funny. I tried again today. Cleared my cache…on the sixth refresh I got the same error. It’s not just my ip address, according to the logs.

    It’s crazy. I’ve searched for any links in /home/peaceand/public_html to index.php, and can’t any.

    I’m stumped!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘index.php is missing…deliberately’ is closed to new replies.