我是站点地图和 Google 站点地图生成器的新手。
我正在测试服务器上工作,既不是本地主机也不是实时服务器。它基本上是一个本地测试服务器。
我已经安装了它并启用了远程访问,现在可以使用 http 访问管理控制台。
问题是我还需要启用https。
当我尝试通过 https 访问它时,出现“SSL 连接错误”。
我知道谷歌关于这个主题的文档说的是这样的:
要在Linux上设置HTTPS:
1.编辑文件/usr/local/google-sitemap-generator/conf/httpd.conf。
2.在 VirtualHost 部分中,编辑 SSL 设置。
3.保存文件。
4.重新启动 Apache 以使更改生效。
但在文件 httpd.conf 中,没有“SSL 设置”可供我编辑。
有人可以消除说明中的这种“模糊性”吗?
谢谢
i am new to site maps, and Google sitemap generator.
i am working on a test server and neither localhost nor live. its basically a local test server.
I have installed it and also enabled remote access and am now able to access the admin console using http.
the problem is i need to enable https as well.
when i try to access it through https, i get an "SSL CONNECTION ERROR".
i know that google's documentation on this topic says something like:
To set up HTTPS on Linux:
1.Edit the file /usr/local/google-sitemap-generator/conf/httpd.conf.
2.In the VirtualHost section, edit the SSL settings.
3.Save the file.
4.Restart Apache to effect the changes.
But in the file httpd.conf, there are no "SSL settings" for me to edit.
Can someone remove this 'vagueness' from the directions?
Thanks
发布评论
评论(1)
我想,您必须向 /usr/local/google-sitemap-generator/conf/httpd.conf 添加类似的内容(到 virtualhost 指令中)
此链接对我很有帮助: http://groups.google.com/group/google-sitemap-generator/browse_thread/thread/a5b0575efad76328
在我的例子中,server.crt 和 server.key 文件是由 openssl 命令生成的( http://www.akadia.com/services/ssh_test_certificate.html)。
确保 Apache 中启用了 mod_ssl(运行 a2enmod)。
I suppose, you have to add to /usr/local/google-sitemap-generator/conf/httpd.conf something like this (into virtualhost directive)
This link was helpful for me: http://groups.google.com/group/google-sitemap-generator/browse_thread/thread/a5b0575efad76328
In my case server.crt and server.key files were generated by openssl command (http://www.akadia.com/services/ssh_test_certificate.html).
Make sure mod_ssl is enabled in Apache (run a2enmod).