when I deleted the all log files from /wamp/logs/ and /wamp/bin/apache/apache2.2.17/logs they can't be created new ones, so I created them by manually but still they are empty except mysql.log.
I put those lines directly in httpd.conf
Include "D:/wamp/alias/*"
VirtualDocumentRoot "D:/wamp/www/%0"
NameVirtualHost 127.0.0.1:80
<VirtualHost localhost:80>
ServerAdmin root@localhost
ServerName localhost
DocumentRoot "d:/wamp/www"
ErrorLog "d:/wamp/logs/localhost-error.log"
CustomLog "d:/wamp/logs/localhost-access.log" common
</VirtualHost>
<VirtualHost sweetdreams.com.localhost:80>
ServerAdmin
root@sweetdreams.comServerName sweetdreams.com.localhost
ServerAlias www.sweetdreams.com.localhost
DocumentRoot "d:/wamp/www/sweetdreams"
<Directory "d:/wamp/www/sweetdreams">
Options Indexes FollowSymlinks
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
and disable " Include httpd-vhosst.conf" and modules/mod_vhost_alias.so still can't start apache. So I try from task manager to start the wampapache service but it doesn't start.
from the command line I navigate to D:\wamp\bin\apache\Apache2.2.17\bin and try httpd.exe which gives me some errors:
Syntax error on line 192 of D:/wamp/bin/apache/Apache2.2.17/conf/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
even when I comment out these lines I receive another error for another line:
Syntax error on line 260 of D:/wamp/bin/apache/Apache2.2.17/conf/httpd.conf:
Invalid command 'Deny', perhaps misspelled or defined by a module not included in the server configuration
Now this is how my httpd.conf looks like - [
pastebin.com]