Connecting Tech Pros Worldwide Forums | Help | Site Map

Apache looks in hidden path

Newbie
 
Join Date: Sep 2006
Posts: 9
#1: Sep 30 '06
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's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#2: Nov 1 '06

re: Apache looks in hidden path


Hi there,

Take a look at the apache log file as every process is recorded. Good luck & take care.
Newbie
 
Join Date: Nov 2006
Posts: 14
#3: Nov 6 '06

re: Apache looks in hidden path


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.
Reply