apache - How to convert configure apache2 to handle https -
i have site running in http. want enable https full website.
i followed tutorial on this site
this /etc/apache2/sites-available/default-ssl.conf file
ifmodule mod_ssl.c> <virtualhost _default_:443> serveradmin webmaster@localhost websitename websitename.com:443 documentroot /var/www/html # available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # possible configure loglevel particular # modules, e.g. #loglevel info ssl:warn
now when try restart apache following error.
* starting web server apache2 * * apache2 configtest failed. output of config test was: ah00526: syntax error on line 4 of /etc/apache2/sites-enabled/default-ssl.conf: invalid command 'websitename', perhaps misspelled or defined module not included in server configuration action 'configtest' failed. apache error log may have more information.
Comments
Post a Comment