title: How to use Perfect(Swift) under a VirtualHost(Apach)?
body: <p>I have Apache on Ubuntu OS. My Ubuntu use amazon Lightsail. I set up a VirtualHost for use the Perfect web server like this</p>
  
  <pre><code>&lt;Location "/PerfectTemplate"&gt;
      ProxyPass http://localhost:8182
      ProxyPassReverse http://localhost:8182
  &lt;/Location&gt;
  </code></pre>
  
  <p>I was trying POST actions from HTML, but programs refer to Apache</p>
  
  <pre><code>var try_post_action = """
  
  &lt;form action="./tow" method="post"&gt;
  //&lt;form action="/tow" method="post"&gt;
  First name: &lt;input type="text" name="fname"&gt;&lt;br&gt;
  Last name: &lt;input type="text" name="lname"&gt;&lt;br&gt;
  &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  
  """
  </code></pre>