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

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

[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.
Options: ReplyQuote
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.
Options: ReplyQuote
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.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.