Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is the public able to tell (read: googlebot) that my Apache2 server is serving multiple VirtualHosts from the same directory? Or is that fact not revealed to the public?

Disregard the fact that the same files are being served. They are dynamic PHP files, in my case.

My guess is that this info is not revealed to the public, but I want to be sure.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

No, the public is not going to know.

Apache2 does not show the path to your DocumentRoot, but a simple php script (phpinfo) can extract that data from the server variables.

share|improve this answer
    
Thank you all! @womble: Gave you the last checkmark. =) –  Jeff Nov 16 '09 at 18:38

No, you can't tell the difference between identical content in different locations and content served from the same location, unless you're leaking debug information (PHP errors being dumped into the HTML stream is the most common one I can think of).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.