![]() ![]() ĭocumentRoot "***path/to/your/project}***" I removed all comments for shorter one and pasted this just below the default virtualHost just change the DocumentRoot and servername then Restart apache. I just copied the _default_ virtualhost and added my config. Go to nf located at xampp\apache\conf\extra.your windows HOST file must already be setup.To enable VirtualHost with SSL at the same time here is what i did. I'm Using XAMPP 3.2.1, Compiled May,7 2013 This may be an old question, but i am putting my answer here anyway for future reference And if using a star, also a NameVirtualHost *:443 line. ![]() It needs a port number, which is always 443 for an HTTPS:// URL, in combination with either an IP address or a star before it. (The paths above are from my WampDeveloper Pro set up, Xampp's will be slightly different) SSLCertificateFile "C:/WampDeveloper/Websites/SSLCertificateKeyFile "C:/WampDeveloper/Websites/ ĭocumentRoot "C:/WampDeveloper/Websites/ServerName ServerAlias SSL, of the HTTPS://url.here/ variety, is entirely handled by Apache and has nothing to do with PHP, or any of PHP's extensions/modules, or any php.ini settings.Ī typical SSL Enabled VirtualHost looks like this and contains at least these parts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |