ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ownCloud Routing

    IT Discussion
    11
    198
    58.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @coliver
      last edited by

      @coliver said:

      @scottalanmiller said:

      Just to be clear, for your MSP process, it's not a traditional MSP that you want but a consultant. You want someone who will oversee your processes, not just someone who can outsource desktop work.

      Also it should be someone that you pay explicitly for this service... not on top of other services. I think @scottalanmiller has an article about getting advice from a vendor somewhere.

      Yes, the important thing is that they are not a reseller with product to push.

      1 Reply Last reply Reply Quote 0
      • alex.olynykA
        alex.olynyk @alex.olynyk
        last edited by

        @alex.olynyk said:

        @coliver said:

        @alex.olynyk said:

        What steps do i need to take to access it by hostname?

        If you're using apache (I will assume you are) you need to edit your virtualhost:80 and virtualhost:443 to have the ServerName be owncloud.mycompany.com.

        where are these files?

        I have httpd.conf opened and am searching it for virtualhost:80 and virtualhost:443 but I dont see these directives. Do I have to add them first?

        coliverC 1 Reply Last reply Reply Quote 0
        • coliverC
          coliver @alex.olynyk
          last edited by

          @alex.olynyk said:

          @alex.olynyk said:

          @coliver said:

          @alex.olynyk said:

          What steps do i need to take to access it by hostname?

          If you're using apache (I will assume you are) you need to edit your virtualhost:80 and virtualhost:443 to have the ServerName be owncloud.mycompany.com.

          where are these files?

          I have httpd.conf opened and am searching it for virtualhost:80 and virtualhost:443 but I dont see these directives. Do I have to add them first?

          It should look like:

          <Virtualhost *:80>
          

          as the opening line. It is a block of code with defined flags below it.

          alex.olynykA 1 Reply Last reply Reply Quote 0
          • alex.olynykA
            alex.olynyk @coliver
            last edited by

            @coliver 0_1456251451019_Capture.PNG
            here is my httpd.conf i dont see it

            1 Reply Last reply Reply Quote 0
            • coliverC
              coliver
              last edited by

              Is that the whole file? If that is the case then the virtualhost configurations are probably in their own location under /etc/httpd.

              What text editor are you using?

              alex.olynykA 1 Reply Last reply Reply Quote 0
              • alex.olynykA
                alex.olynyk @coliver
                last edited by

                @coliver said:

                Is that the whole file? If that is the case then the virtualhost configurations are probably in their own location under /etc/httpd.

                What text editor are you using?

                VI

                alex.olynykA 1 Reply Last reply Reply Quote 0
                • alex.olynykA
                  alex.olynyk @alex.olynyk
                  last edited by

                  @alex.olynyk said:

                  @coliver said:

                  Is that the whole file? If that is the case then the virtualhost configurations are probably in their own location under /etc/httpd.

                  What text editor are you using?

                  VI

                  contents of /etc/httpd
                  0_1456251874507_Capture.PNG

                  1 Reply Last reply Reply Quote 0
                  • coliverC
                    coliver
                    last edited by coliver

                    Ok, so open the /etc/httpd/conf/httpd.conf file. And then do type the following:

                    /<VirtualHost *:8080>
                    

                    The '/' is the vi shortcut to search for the following string. The VirtualHost should look like the following:

                    <VirtualHost *:8080>
                        ServerAdmin [email protected]
                        DocumentRoot /www/docs/dummy-host.example.com
                        ServerName dummy-host.example.com
                        ErrorLog logs/dummy-host.example.com-error_log
                        CustomLog logs/dummy-host.example.com-access_log common
                    </VirtualHost>
                    

                    You'll want to edit it with the appropriate info.

                    alex.olynykA 1 Reply Last reply Reply Quote 0
                    • alex.olynykA
                      alex.olynyk @coliver
                      last edited by

                      @coliver pattern not found

                      is this what i need to follow? https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7

                      1 Reply Last reply Reply Quote 1
                      • coliverC
                        coliver
                        last edited by

                        Yes. That's pretty much what you need.

                        1 Reply Last reply Reply Quote 0
                        • alex.olynykA
                          alex.olynyk
                          last edited by

                          I followed the directions in https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7
                          now apache wont start
                          any ideas?0_1456254680478_Capture.PNG

                          1 Reply Last reply Reply Quote 0
                          • coliverC
                            coliver
                            last edited by coliver

                            Do you have the port you are using defined in two different locations? Did you do a systemctl stop httpd before trying to restart it?

                            alex.olynykA 1 Reply Last reply Reply Quote 0
                            • alex.olynykA
                              alex.olynyk @coliver
                              last edited by

                              @coliver i changed the listen port from 8080 to 80 as it everyone asked why I didnt leave it on 80

                              scottalanmillerS coliverC 2 Replies Last reply Reply Quote 0
                              • coliverC
                                coliver
                                last edited by

                                It's complaining about port 443 though.

                                1 Reply Last reply Reply Quote 0
                                • alex.olynykA
                                  alex.olynyk
                                  last edited by

                                  then added port 80 to firewalld

                                  1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller @alex.olynyk
                                    last edited by

                                    @alex.olynyk said:

                                    @coliver i changed the listen port from 8080 to 80 as it everyone asked why I didnt leave it on 80

                                    Yeah, changing ports is best only when there is a solid reason, should not be done casually. It's a trivial thing, but just "one more" potential point for a problem and just... why? 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • coliverC
                                      coliver @alex.olynyk
                                      last edited by

                                      @alex.olynyk said:

                                      @coliver i changed the listen port from 8080 to 80 as it everyone asked why I didnt leave it on 80

                                      Good, I was going to comment on it but figured you had a reason for it to be that way.

                                      1 Reply Last reply Reply Quote 0
                                      • alex.olynykA
                                        alex.olynyk
                                        last edited by

                                        I just did a clean install of CentOS and setup virtual hosts as described in this document. https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7
                                        I did not change any ports. I restarted Apache and I still get this0_1456263276917_Capture.PNG

                                        1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch
                                          last edited by JaredBusch

                                          Doing anything to Apache on your ownCloud server is WRONG.

                                          There is no need to do anything in apache (unless you are adding SSL).

                                          Here are my setup instructions for ownCloud on CentOS.
                                          They need a little minor updating, but work 100% if you leave SELinux disabled.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch
                                            last edited by

                                            There is a single damned setting that will fix the URL. I told you to set it in the other post.

                                            You have not listened to a damned thing I suggested, so I stopped helping.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 9
                                            • 10
                                            • 4 / 10
                                            • First post
                                              Last post