Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jul 13, 2008 11:31 am 
Offline
Junior Member

Joined: Tue May 20, 2008 3:00 am
Posts: 37
Edit : already have it working, wasn't thinking lol. Sorry.

I'm using mod_vhost_alias to try out and have multiple sites hosted in an easy way. They're all my own sites and I don't need mail / ftp on them so I don't need a fancy control panel anymore.

mod_vhost_alias works as expected, only I need one site to be accessible via SSL. How do I create a VirtualHost while having mod_vhost_alias enabled as well? Or isn't this possible?

When I try to access https://notoire.net it just loads the normal vhost_alias thingy directory instead of what I put in the <VirtualHost> section.

Config bit looks like this :

Quote:
<VirtualHost 69.56.251.128:443>
ServerName notoire.net
ServerAlias www.notoire.net
DocumentRoot /home/notoire/public_html
ScriptAlias /cgi-bin/ /home/notoire/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/notoire/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/notoire/cgi-bin>
allow from all
</Directory>
SSLEngine on
SSLCertificateFile /home/notoire/ssl.cert
SSLCertificateKeyFile /home/notoire/ssl.key
</VirtualHost>

VirtualDocumentRoot /www/hosts/%0/docs
VirtualScriptAlias /www/hosts/%0/cgi-bin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group