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

后端 未结 6 1980
没有蜡笔的小新
没有蜡笔的小新 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:49

    I think you can do this by rewriting URL through Apache configuration. You can see the Apache documentation for rewriting here.

提交回复
热议问题