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

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

    Just use some good web framework e.g. django and you can have such URLs more than URLs you will have a better infrastructure, templates, db orm etc

提交回复
热议问题