(Solved)mod_vhost_alias and one VirtualHost for an SSL site.

Edit : already have it working, wasn't thinking lol. Sorry.

I'm using modvhostalias 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.

modvhostalias works as expected, only I need one site to be accessible via SSL. How do I create a VirtualHost while having modvhostalias 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 section.

Config bit looks like this :

> 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

Options Indexes IncludesNOEXEC FollowSymLinks

allow from all

AllowOverride All

allow from all

SSLEngine on

SSLCertificateFile /home/notoire/ssl.cert

SSLCertificateKeyFile /home/notoire/ssl.key

VirtualDocumentRoot /www/hosts/%0/docs

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

0 Replies


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct