我在Ubuntu操作系统上安装了Apache。我的Ubuntu使用amazon Lightsail。我设置了一个VirtualHost来使用完美的web服务器,如下所示
<Location "/PerfectTemplate">
ProxyPass http://localhost:8182
ProxyPassReverse http://localhost:8182
</Location>我尝试从HTML发布操作,但程序引用Apache
var try_post_action = """
<form action="./tow" method="post">
//<form action="/tow" method="post">
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<input type="submit" value="Submit">
</form>
"""https://stackoverflow.com/questions/51228009
复制相似问题