I am using FC4 with httpd-2.0.54-10.3
I have one virtual host, sugar.example.com and the document root is /sugar
and also some more virtual hosts are there, like
test.example.com and the document root is /home/test/www and so on...
Here the problem is, while accessing all the domains, other than sugar.example.com, I am unable to aceess the sites.
This is the error message I am getting in the browser,
The requested URL /index.php was not found on this server.
These are the log messages.
[client xx.xx.xx.xx] script '/sugar/index.php' not found or unable to stat
[Fri Jun 23 14:13:05 2006] [error] [client xx.xx.xx.xx] File does not exist: /sugar/favicon.ico
If I place the index.php under the /sugar directory, then I am able to access the index.php.
The same thing is happening for all the domains.
Now, I need to place the files under the /sugar directory only for all the domains.
Please help me to solve this problem.
You need to set up <VirtualHost> directives for the other addresses.
Thanks for your reply.
I have virtaul hosts for each and every domain.
Thanks & Regards,