 |
Linode.com Forum Linode Community Forums
|
| Author |
Message |
Navi
Joined: 20 May 2008
Posts: 17
|
| Posted: Sun Jul 13, 2008 10:31 am Post subject: (Solved)mod_vhost_alias and one VirtualHost for an SSL site. |
|
|
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
|
|
| Back to top |
|
| |
|