My httpd.conf is empty

前端 未结 4 1245
挽巷
挽巷 2020-12-02 06:11

I recently installed apache2 on ubuntu but I have a problem, my httpd.conf is empty. Can someone give me a clean copy of httpd.conf for apache2 on ubuntu? Thanks!

Ed

4条回答
  •  旧时难觅i
    2020-12-02 06:50

    OK - what you're missing is that its designed to be more industrial and serve many sites, so the config you want is probably:

    /etc/apache2/sites-available/default
    

    which on my system is linked to from /etc/apache2/sites-enabled/

    if you want to have different sites with different options, copy the file and then change those...

提交回复
热议问题