Codeigniter on Ubuntu no welcome message

后端 未结 3 1176
温柔的废话
温柔的废话 2020-12-21 23:09

I am trying to run CodeIgniter (2.14) on Ubuntu 13.10. I have put the files in \"var/www/CodeIgniter\" but when I enter the directory from the browser it does not show any w

相关标签:
3条回答
  • 2020-12-21 23:16

    The Problem is rights on the 'var/www' folder. This can be fixed by the terminal or when unziping.

    When unziping from the terminal like below it works

        sudo unzip CodeIgniter_2.1.4.zip -d /var/www/"desired folder"
    

    Could also be fixed by changing rights after unpacking with GUI interface..

        sudo chmod 755 -R www
    

    And to be able to use Netbeans as non sudo user change the folder owner

        sudo chown 'user-name' 'folder-name' 
    

    Working Codeigniter

    0 讨论(0)
  • 2020-12-21 23:26

    try to change permissions:

    sudo chmod 777 -R /var/www/Codeigniter
    
    0 讨论(0)
  • 2020-12-21 23:38

    try to remove .htaccess from the root of myproject

    0 讨论(0)
提交回复
热议问题