| View previous topic :: View next topic |
| Author |
Message |
Jrivera_service
Joined: 25 Jan 2006
Posts: 2
|
| Posted: Wed Jan 25, 2006 4:50 am Post subject: virtualdocumentroot Error |
|
|
I have been editing the apache script but I have come into a problem I can't make a virtualdocumentroot:
This is what I have
<virtualhost *>
virtualdocumentroot "c:/apache2triad/htdocs/hosted/%1"
serveralias *.hn-ss.com *.hurricane- networks.com
</virtualhost>
ever time I save it, and start the server with it, it gives me a server error.
Please ask if you want my config file Thanks!
Juan |
|
| Back to top |
|
dawg
Joined: 11 Apr 2004
Posts: 180
|
| Posted: Wed Jan 25, 2006 4:56 am Post subject: |
|
|
it should be
Code:
<VirtualHost *:80>
ServerName hn-ss.com hurricane- networks.com
ServerAlias *.hn-ss.com *.hurricane- networks.com
DocumentRoot c:/apache2triad/htdocs/hosted/%1
</VirtualHost>
http://httpd.apache.org/docs/2.0/vhosts/name-based.html |
|
| Back to top |
|
Jrivera_service
Joined: 25 Jan 2006
Posts: 2
|
| Posted: Wed Jan 25, 2006 6:26 am Post subject: Error - The requested operation has failed |
|
|
I reposted the new script and it comes out an error I'm not sure what the problem is I have attached my apache config for my server.
Thanks Everyone for your help
Juan |
|
| Back to top |
|
| |