Apache looks in hidden path

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LaoDe
    New Member
    • Sep 2006
    • 9

    Apache looks in hidden path

    Hi,

    How can I trace, where Apache gots a html file from localy on my system ?

    I changed index.html in DocumentRoot, but Apache still shows the old version , when I call it by 'localhost' in firefox.

    But when I enter 'localhost/index.html' than I get my version of index.html

    I checked the path 100 times, I reboot Apache and the browser, no change !???

    here are all relevant path:

    ServerRoot "/xampp/apache"
    Listen 80
    ServerName localhost:80
    DocumentRoot "/xampp/htdocs"
    <Directory "/xampp/htdocs">
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    DirectoryIndex index.html index.php .....

    A similar behavior I found while playing wiht another html-script. This script sometimes is opened, even so the path in index.html point to a DIR, where I took the script away from ! How to understand and monitor this obviously cache-behaviour of Apache ?

    any idea how to monitor a html-file in browser, to see where it physicaly came from ?

    thanks for any tip, LaoDe
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Hi there,

    Take a look at the apache log file as every process is recorded. Good luck & take care.

    Comment

    • srikpen
      New Member
      • Nov 2006
      • 14

      #3
      you will have to change this
      DocumentRoot "/var/www"

      to where you index.html will start from.
      other things are also there in your .htaccess file in your local directories.

      Comment

      Working...