Thought all of you said were going to work fine, but at one point it failed.
I couldn't restart Apache! And now I can't get it working!
It pops up when I try to start Apache. Had to been something I've done when following your instructions.
Take a look at this:
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
<VirtualHost 127.0.0.1:8081>
ServerAdmin webmaster@mydomain.com
DocumentRoot C:/Programfiler/Apache Group/Apache2/htdocs/MYSITE
ServerName mysite.localhost:8081
ErrorLog C:/Programfiler/Apache Group/Apache2/logs/mysite-error_log.log
CustomLog C:/Programfiler/Apache Group/Apache2/logs/mysite-access_log common.log
</VirtualHost>
(Programfiler means Program Files. Norwegian..)
You see the difference?
The one at top is displayed in httpd.conf. As a comment.
The other one I filled in.
I tested it and it worked when I removed that piece of code!
With it it crashes.
I'm not sure what to fill in there. Got any tips?
Thanks for the help so far!
- perlman
I couldn't restart Apache! And now I can't get it working!
Quote:
The requested operation has failed!It pops up when I try to start Apache. Had to been something I've done when following your instructions.
Take a look at this:
Code:
#<VirtualHost *> # ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
<VirtualHost 127.0.0.1:8081>
ServerAdmin webmaster@mydomain.com
DocumentRoot C:/Programfiler/Apache Group/Apache2/htdocs/MYSITE
ServerName mysite.localhost:8081
ErrorLog C:/Programfiler/Apache Group/Apache2/logs/mysite-error_log.log
CustomLog C:/Programfiler/Apache Group/Apache2/logs/mysite-access_log common.log
</VirtualHost>
(Programfiler means Program Files. Norwegian..)
You see the difference?
The one at top is displayed in httpd.conf. As a comment.
The other one I filled in.
I tested it and it worked when I removed that piece of code!
With it it crashes.
I'm not sure what to fill in there. Got any tips?
Thanks for the help so far!
- perlman