assistanz
Assistanz

Increase URI/URL limit at Apache

cPanel Server Management 

  For 24×7 cPanel Server Management with Monitoring, Unlimited Tech Support, Disaster Recovery, Security updates and much more Signup today!   

Apache’s default URL/URI length of 8190 characters is sufficient for most websites. However, if your requests exceed this limit, then Apache will throw a “Request-URI too large” error. To fix this problem, we will increase the max URL length in Apache. 

Solution – 1:

1) Login into the SSH server.

2) Open the Apache configuration file in a text editor. You will find the Apache server configuration file located at one of the following locations, depending on your installation.

  • /etc/apache2/httpd.conf
  • /etc/apache2/apache2.conf (or) /usr/local/apache/conf/httpd.conf

If you want to increase the max URL/URI length in Apache to 100000 characters, just add the following line to your Apache server configuration file.

# vi /usr/local/apache/conf/httpd.conf LimitRequestLine 100000 :wq 3) Make sure the configuration syntax is correct or not with help of the following command:

# httpd -t

4) Restart Apache Web Server

# service httpd restart

# systemctl restart httpd

Solution – 2:

1)  Log in to WHM as the root user. Go to Home » Service Configuration » Apache Configuration

2) Select ‘Include Editor

2) Choose any Include from below as apache configuration. 

Note: How to find out which ‘include’ working in Apache configuration?

– Go to Home » Server Configuration » Terminal

# grep Include /usr/local/apache/conf/httpd.conf

Include “/etc/apache2/conf.d/includes/post_virtualhost_global.conf”
Include “/etc/apache2/conf.d/includes/post_virtualhost_2.conf”

3) Choose the Apache version are select all apache under the Home » Service Configuration » Apache Configuration >> Include Editor – Post VirtualHost Include

–  Enter the following and click update.

LimitRequestLine 100000

4)  Restart Apache Web Server

Home » Restart Services » HTTP Server (Apache)

cPanel Server Management 

  AssistanZ is a pioneer in offering 24×7 cPanel Server Management Service since 2004.   We offer 24×7 cPanel Server Management

  • cPanel Server Management
  • cPanel Installation and Setup
  • cPanel Server Optimization
  • cPanel Server Migration
  • cPanel Server Security and Hardering
  • cPanel Server Monitoring
  • cPanel Server Hack Recovery

and Much more  

Sign up

DirectAdmin Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk
$ 99 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • NDA & SLA
  • SLA Review Meetings
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation
  •  

Platinum Support

24/7 Proactive Support
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Support

$ 30 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response Time
  • 4 Hours Resolution time for the Possible Issues
  • Security and Performance Optimization
  • React to Customers queries
  • Simple SignUp Process
  • Instant Account Activation
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support