Hi,
I'm trying to setup a vhost, it seems the configuration is not send from GUI to httpd-vhosts.conf file. it always write the same default values:
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "c:/Apache2/docs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "c:/Apache2/docs/dummy-host2.example.com"
ServerName dummy-host2.example.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>
--------------------------------
System info:
Portable version
Windows 8.1
vhosts GUI not working
Re: vhosts GUI not working
Vhosts are written to Apache2\conf\securewamp\vhosts.conf
When you edit them, you have to click "Save" bevor exiting
When you edit them, you have to click "Save" bevor exiting
Iron-Updates via Twitter: http://twitter.com/srware
Donations via Paypal and Bitcoin:
http://iron-start.com/spenden.php
Donations via Paypal and Bitcoin:
http://iron-start.com/spenden.php
Re: vhosts GUI not working
Thank you for quick reply.
I've tried to clone a website from one live server to securewamp, when I tried to start it locally the page shows an error message:
-----
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
------
The error log file show this error line:
[Sun Oct 05 15:04:05.036076 2014] [core:alert] [pid 8352:tid 3020] [client 127.0.0.1:54434] R:/SecureWAMP_Portable/htdocs/****(edit by me)/.htaccess: DirectoryIndex not allowed here, referer: http://*****(edit by me)/
...
After some attempts with vhost.conf, I could solve the problem by changing (AllowOverride AuthConfig FileInfo) to (AllowOverride All).
Thank you for you help.
I've tried to clone a website from one live server to securewamp, when I tried to start it locally the page shows an error message:
-----
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
------
The error log file show this error line:
[Sun Oct 05 15:04:05.036076 2014] [core:alert] [pid 8352:tid 3020] [client 127.0.0.1:54434] R:/SecureWAMP_Portable/htdocs/****(edit by me)/.htaccess: DirectoryIndex not allowed here, referer: http://*****(edit by me)/
...
After some attempts with vhost.conf, I could solve the problem by changing (AllowOverride AuthConfig FileInfo) to (AllowOverride All).
Thank you for you help.