Forum Moderators: phranque

Message Too Old, No Replies

Conf files don't work well

conf files

         

armindo

3:47 pm on Dec 14, 2004 (gmt 0)



Hi

I have two httpd.conf files, one has all the virutal domains in file, the other hasn't got any ( because i use the files in a directory).
The first method, with all the virtual domains in the file work. The second method having an almost clean httpd file and the conf files apart, won't work although every test says its ok.
The only diference between the httpd conf is the serveroot directive. But enven putting it equaly it won't work.
Don't work is i have a php file that reads, buts stays blank.... As this happened to someone? I would like to keep my conf apart from the htttpd file

Thanks Armindo

sublime1

12:16 am on Dec 19, 2004 (gmt 0)

10+ Year Member



You'll probably need to be more specific -- I really don't understand the difference between the two cases. It kind of sounds like you are trying multiple configuration files. If you are, that's not right: use one httpd.conf with multiple VirtualHost sections. For a more modular solution define each virtual host a separate file and use the include directive from the main httpd.conf file.