LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-03-2017, 08:56 AM   #1
Razvancs
LQ Newbie
 
Registered: Dec 2016
Posts: 6

Rep: Reputation: Disabled
Question <Limit LOGIN> error on Apache Ubuntu 16.04


If i put this command in Ubuntu 14.04 Apache conf is working fine
<Limit LOGIN>

# single ip address example
Allow from 2.232.xxx.xxx

DenyAll

</Limit>

But on my Ubuntu 16.04 is not working and i get this error...
Failed to apply changes :
AH00526: Syntax error on line 221 of /etc/apache2/apache2.conf:
<Limit not allowed here
Action 'configtest' failed.
The Apache error log may have more information.

Any ideas? I want to enable access on webmin only from my ip
 
Old 01-03-2017, 11:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Any ideas? I want to enable access on webmin only from my ip
In apache 2.4 the <Limit ..>...</Limit> clause is allowed only in directory or .htaccess context. And you need to use "Deny from All"
Code:
<Directory "/path/to/webmin">
<Limit LOGIN>

# single ip address example
Allow from 2.232.xxx.xxx

Deny from All

</Limit>
...
</Directory>
Regards

Last edited by bathory; 01-03-2017 at 11:54 AM. Reason: typo
 
1 members found this post helpful.
Old 01-04-2017, 03:13 AM   #3
Razvancs
LQ Newbie
 
Registered: Dec 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks, solved from Webmin Access Pannel
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
acl permission error -------------ubuntu -------------(530 login error) saravanakumar Linux - Networking 1 08-06-2011 11:46 AM
ubuntu login error accessibility app error exception during registry activatin from a jennyund Linux - Newbie 1 06-22-2009 08:35 PM
Prevent Login by IP address / limit login attempts / remedial IP tables question whiskey06 Linux - Security 5 04-26-2009 03:48 AM
2gb Apache limit - Apache: v 2.2.4 Filesystem: ext3. Can someone help me solve this? farmerjoe Linux - General 4 11-07-2008 05:13 AM
Limit no. of login juno Linux - General 7 12-12-2002 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration