Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 17:59:10

Author Topic: Apache malfunction when disable varnish.  (Read 24185 times)

0 Members and 1 Guest are viewing this topic.

Offline kaitux

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Apache malfunction when disable varnish.
« Reply #15 on: 2016-10-20, 23:47:37 »
1. When I switched cache to none apache works on port 8080 and servers "Kloxo-MR Default Page for...".
2. When I ran 'sh /script/fixweb' apache works on port 80 as it should but I still have default webpage. When I ran 'sh /script/restart-web', services stoped, but not started, and finally when I started them manually it still serves defaul page...
3. Of course.




Offline kaitux

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Apache malfunction when disable varnish.
« Reply #16 on: 2016-10-21, 01:04:18 »
It looks like simple problem. It happens only for apache without varnish. Sth must be screwed up in configs   :(

Offline kaitux

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Apache malfunction when disable varnish.
« Reply #17 on: 2016-10-21, 01:26:13 »
When I change in kloxo panel default domain from host.server.com to mysite.com  apache displays mysite.com content under all domains.
When I add new domain apache also displays content of default domain website - in fact content of domain which is set as default for my eth in kloxo panel.


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache malfunction when disable varnish.
« Reply #18 on: 2016-10-21, 03:08:50 »
Did you could access to host.server.com with 'http://host.server.com'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kaitux

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Apache malfunction when disable varnish.
« Reply #19 on: 2016-10-21, 10:40:53 »
Yes I can access it - in fact i'm using it to access kloxo panel and it is main domain for the server.

It looks like:
http://host.server.com:7777-8 using it to access kloxo
http://host.server.com - works ok - always display "default webpage of host.server.com", because I don't need to modify files (I've also checked it by modifying index.html).

And in fact when I' disable varnish then apache always display content of folder which is DocumentRoot for host.server.com. Then when I change in panel default domain from host.server.com to other i.e. mydomain.com then I can see content of DocmunetRoot of this domain when hitting all other domain hosted by the server (even webmail or cp).

So obviously there is problem with content of apache's config which is generated by kloxo.(?)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache malfunction when disable varnish.
« Reply #20 on: 2016-10-21, 13:13:01 »
Try set 'default domain' for every client (including admin).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kaitux

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Apache malfunction when disable varnish.
« Reply #21 on: 2016-10-25, 23:41:03 »
I had no additional customers only admin. For the test I've created one and changed ownership of domain for that client. After that disabled varnish and the result was the same.
Unfortunately now things are going bad because I enabled varnish as always to get my sites back online and this time is  "default page for"
So apache goes crazy totally. Please tell me how to purge apache, reinstall and regenerate config?
Is this possible?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache malfunction when disable varnish.
« Reply #22 on: 2016-10-26, 00:48:51 »
Give me ssh and Kloxo-MR panel access. Use PM to send your information.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kaitux

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Apache malfunction when disable varnish.
« Reply #23 on: 2017-01-30, 09:29:45 »
Hi, sorry for delayed response, but I've finally fixed it. I've changed "default domain" several times (also was switching services) and it works.
Thank you for support and have a nice day! :)

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.06 seconds with 18 queries.

web stats analysis