【发布时间】:2019-11-02 03:16:18
【问题描述】:
[对设置网站非常陌生]
我正在运行ubuntu 和apache2 并已成功地将typeform 调查嵌入到托管在网络服务器上的html 页面中。
在 typeform 调查中,我有一个“submit”按钮,应该重定向回 typeform 调查的“主屏幕”。
但是,当我在我的服务器上单击此按钮时,出现错误:
Not Found
The requested URL was not found on this server.
Apache/2.4.18 (Ubuntu) Server at subdomain.website.com Port 80
我还注意到 URL 中出现了“self”一词,如下所示:
http://subdomain.website.com/self
我也在 apache2.conf 文档中添加/修改了以下几行:
1. Added - LoadModule rewrite_module modules/mod_rewrite.so
2. Modifed - all strings 'AllowOverride None' to 'AllowOverride All'
并重新启动服务器。但我没有看到任何变化。如何将提交按钮重定向到嵌入的 typeform 调查的“主屏幕”?
我使用这个document 为我放在服务器上的html 文档生成嵌入代码。
【问题讨论】:
标签: html redirect apache2 ubuntu-16.04