![]() Note : You will have to add an entry in hosts file 127.0.0.1 project_one. Prior to certificate installation, please make sure that the CSR was generated, and the certificate was activated, validated, and issued. TransferLog "C:/xampp/apache/logs/access.log"ĬustomLog "C:/xampp/apache/logs/ssl_request.log" \ ServerAdmin "C:/xampp/apache/logs/error.log" ĭ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 NameVirtualHost *:80ĭocumentRoot "C:\Users\user_name\Documents\project_two" 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) ![]() ĭ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 |