introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.
-->

[solved] VirtualHost DocumentRoot mistake...



Posted by: Mirien
March 30, 2010 03:55PM
Hello,

I have just installed EasyPHP. I'm trying to setup some virtualhost.
Each vhost is located in a subdirectory of easyphp installation.
So, I have created conf/extra/httpd-vhosts.conf with :
DocumentRoot "${path}/projects/oneVHost"

httpd.conf use ${path}/www as DocumentRoot.

"apache.exe -S" tell me : DocumentRoot must be a directory (for my vhost)
But directory well exists...

Can someone help me ?



Edited 1 time(s). Last edit at 03/30/2010 04:02PM by Mirien.
Posted by: Mirien
March 30, 2010 04:01PM
Sorry...

I solved it.

EasyPHP don't parse included httpd config files in the main httpd.conf.
So ${path} is not replaced, so my docroot don't exist.

Write all your virtual hosts in the httpd.conf if you want to use ${path}.



Edited 1 time(s). Last edit at 03/30/2010 04:03PM by Mirien.
Posted by: Thierry
March 30, 2010 04:06PM
modify apache conbf file in conf_files folder.

Otherwise your modifications will be erased on next generation.