How to hide “cgi-bin”, “.py”, etc from my URLs?

后端 未结 6 1970
没有蜡笔的小新
没有蜡笔的小新 2021-02-01 08:49

Brand new to web design, using python. Got Apache up and running, test python script working in cgi-bin directory. Get valid results when I type in the URL explicitly: \".../

6条回答
  •  不思量自难忘°
    2021-02-01 09:36

    You have to use URL Rewriting.

    It is not a noob question, it can be quite tricky :)

    http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

    Hope you find it helpful

提交回复
热议问题