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-18, 21:19:55

Author Topic: Troubles with new httpd configs  (Read 2286 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Troubles with new httpd configs
« on: 2015-12-10, 18:58:37 »
Quote
httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 83 of /etc/httpd/conf.d/~lxcenter.conf: Syntax error on line 404 of /opt/configs/apache/conf/domains/zbyn77.xxx.pl.conf: Expected </Location> but saw </VirtualHost>

See this:

Quote
        <Location "/">
                Order deny,allow
                Deny from 81.218.109.106 217.170.205.77 81.218.109.106  </Location>

</VirtualHost>

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Troubles with new httpd configs
« Reply #1 on: 2015-12-10, 19:06:52 »
How about fixweb?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Troubles with new httpd configs
« Reply #2 on: 2015-12-10, 19:30:45 »
How about fixweb?.

It happened after fixweb

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Troubles with new httpd configs
« Reply #3 on: 2015-12-10, 19:33:06 »
This works well:

Quote
        <Location "/">
                Order deny,allow
                Deny from 81.218.109.106 217.170.205.77 81.218.109.106
        </Location>

</VirtualHost>

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Troubles with new httpd configs
« Reply #4 on: 2015-12-10, 19:54:06 »
Fix is simple. Change:

Quote
        <Location "/">
                Order deny,allow
                Deny from <?php echo $blockips; ?>
        </Location>

to

Quote
        <Location "/">
                Order deny,allow
                Deny from <?php echo $blockips; ?>

        </Location>

 


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

Page created in 0.08 seconds with 19 queries.

web stats analysis