Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 virtualdocumentroot Error
Google
Post new topic Reply to topic
Author Message
Jrivera_service
 
 


Joined: 25 Jan 2006
Posts: 2

PostPosted: Wed Jan 25, 2006 4:50 am Reply with quoteBack to top

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
View user's profileSend private message
dawg
support
support


Joined: 11 Apr 2004
Posts: 180

PostPosted: Wed Jan 25, 2006 4:56 am Reply with quoteBack to top

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
View user's profileSend private message
Jrivera_service
 
 


Joined: 25 Jan 2006
Posts: 2

PostPosted: Wed Jan 25, 2006 6:26 am Reply with quoteBack to top

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
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT