[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache / Virtual Host



Hi Folk!

I've a very special problem using Apache 1.3 and virtual host (named 
host).

I created 10 Virtual Hosts with Apache. Each one is also associated with 
an account/password.

In my example :

client1.local  (work)
client2.local  (don't work)
client3.local  (don't work)
client4.local  (work)
...

Each one have an index.html page with a complete site attached. Two of 
them do not works and have the following problem:

When I connect to the client2.local site with IE or NN, the system in 
fact open the index.html page located in client1.local but try to open 
linked gif in client2.local directory. I renamed the index.html page (as 
index.old) in client2.local to check if the system is really going to the 
right location. Right, when I type client2.local in NN, I can see the 
directory content of client2.local.

Here is the first problem, the system refuse to open the right page and 
open another page (in fact the first site in the virtualhost list in 
srm.conf).

The second problem is associated. After my first test, I decided to 
rename the index.old in client2.local to index.html. I click now on the 
Reload button of Netscape and nothing append. I still have the directory 
list with the index.old page. ??? I tried different options and 
discovered the following: each time I rename a file with a new name in 
the directory and click on the reload button of Netscape, the new file 
(new name in fact) appears. If I rename the file with one of the oldest 
name, nothing change.

index.html -> do not work, and goes to another site
index.old - > I see it with reload
index.html > no change, I still see index.old
index1.html -> I see it
index.old > no change, I see index1.html
index2.html -> I see it
...

Cache in not enabled in Apache. The Linux directories used by the sites 
are also published as AFP volumes with Netatalk. I also completly deleted 
the files and directories from the 2 sites and loaded again the files, 
and I still have the problem.

Au secours.

Stef...

...........................................................
. action-WEB : L'Internet au service de votre marketing   .
. Tel: (0)141 906 100 - Fax: (0)141 906 101               .
. email: sleclerc@actionweb.fr - http://www.actionweb.fr  .
...........................................................


Reply to: