Beiträge von backdor

    backdoor, you might want to switch to OMV 1. We are changing the webserver from Apache to nginx. So it does not make sense to spend a lot of time learning Apache. It is probably better to learn how to use nginx.


    Oh, thank you.


    Just for the overall development of Apache and I learned studying Nginx.


    But this plugin, I understand, it is not stable at OMV 0,6, but in this case I'm waiting for the official release of OMV .6

    Zitat von "tekkbebe"

    There is some file that is being hosted on port 80 in your files. You need to find it. It is like a symlink of the default file in sites-available folder. It is interfering with OMV being hosted on port 80. Take some time and learn this stuff better. You should be able to figure it out.


    Good Luck... :D


    Thank you very much!

    Zitat von "tekkbebe"

    You don't need a file that instructs to use index.html. The openmediavault-webgui tell the server to run the files in openmediavault-webgui.d. The default.conf file in the openmediavault-webgui.d folder is the one that tells omv how to run.


    So, I don't now how write next words, but...
    It working.
    I change port to :81 with omv-firstaid, go to webGUI, change port on :80, reload page, and it working.


    It's magic or your advices. And i go to see config files, and learn apache2.


    Thank you for help, and sorry my bad English.



    if I don't trying - I don't create this topic. It would be too easy for me.

    Zitat von "tekkbebe"

    OMG, delete these symlinks too then restart.....


    In folder apache2 I have symlink @default, @default-ssl, @openmediavault-webgui.


    I delete symlink, restart apache. and nothing.


    I understand that when I open the address of the server, I have to apply to the /var/www/index.html, or where?

    Zitat von "tekkbebe"

    Yes... when you do a2ensite it creates symlinks from folder sites-available to folder sites-enabled. The website will not be hosted til there is a symlink in sites-enable. You want only openmediavault-webgui symlink in the folder sites-enabled. I think there is a default symlink there. Give me this:


    cd /etc/apache2/sites-enabled
    ls -la


    Code
    root@server:/etc/apache2/sites-enabled# ls -la
    итого 8
    drwxr-xr-x 2 root root 4096 Июн 22 00:40 .
    drwxr-xr-x 8 root root 4096 Июн 20 23:43 ..
    lrwxrwxrwx 1 root root   30 Июн 20 23:44 default-ssl -> ../sites-available/default-ssl
    lrwxrwxrwx 1 root root   40 Май 28 19:14 openmediavault-webgui -> ../sites-available/openmediavault-webgui
    Zitat von "tekkbebe"

    You did not answer question. What symllinks are in the sites-enabled folder???? Plex has nothing to do with this. It is not hosted via apache.


    It is ok the default and default-ssl are in sites-available folder but there should be no symlink for them in the sites-enabled folder.


    I don't understand.


    You need symlinks in folder /etc/apache2/sites-enabled ?


    I have symlink @openmediavault-webgui - /sites-available/openmediavault-webgui and @default-ssl - /sites-available/default-ssl

    Zitat von "tekkbebe"

    Your system is loading /var/www/index.html. I working on another problem. Give me some time, 20-30 minutes, and I will come back to this.


    Tell me all the sites that are in your sites-enabled folder????


    I understand that the site is opened through /var/www/index.html. But this on port 80, if i change port to :81 - site opens correctly.


    I have transmission, plex, phpmyadmin - they work correctly.


    In folder apache2 I have symlink @default, @default-ssl, @openmediavault-webgui.

    Zitat von "tekkbebe"

    Show this as well...


    cat /etc/apache2/apache2.conf


    Zitat von "tekkbebe"

    Give me results of this:


    cat /etc/apache2/openmediavault-webgui.d/default.conf




    I have symlink on folder /etc/apache2/sites-enabled/ to /etc/apache2/sites-available/


    And I see

    Zitat

    It works!


    This is the default web page for this server.


    The web server software is running but no content has been added, yet.


    After

    Code
    service apache2 restart
    Zitat von "tekkbebe"

    you do not have this file in sites-available????


    I have.


    default
    default-ssl
    openmediavault-webgui


    cat default


    cat default-ssl


    cat openmediavault-webgui

    Code
    <VirtualHost *:80>
        Include /etc/apache2/openmediavault-webgui.d/*.conf
    </Virtualhost>