Changing LimitRequestLine In Plesk Apache Configuration
May 16, 2014
I have to modify the two apache settings LimitRequestLine and LimitRequestFieldSize. Strangely, the setting has to be made to the first VirtualHost that gets loaded and it will then be changed for all virtual hosts. I don't understand why that's the case, but I was able to verify it works on a local test server.
But how do I find out which virtual host is loaded first? I tried with default of course, but that one isn't it.
Or how to make the setting to apache?
I run Plesk Panel 11.5 on Debian 7
View 2 Replies
ADVERTISEMENT
Jun 5, 2014
I have following problem when I try to cange the configuration file for Nginx in Plesk.
Details:
- Using Wordpress
- vServer
- PHP is handled through Nginx
- Memcached is enabled
To use the caching plugin "Cachify" in combination with memcached, the nginx configuration file must be edited. Following config should be used:
Code:
## GZIP
gzip_static on;
## CHARSET
charset utf-8;
## INDEX LOCATION
location / {
error_page 405 = @nocache;
[Code] ....
When I try to save the new config, following error appears:
Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/systemmydomain/conf/vhost_nginx.conf:8 nginx: configuration file /etc/nginx/nginx.conf test failed
How can I use the necessary configuration? I used google before, but some people said, that the server templated needs to be edited?
View 1 Replies
View Related
Aug 19, 2007
Is it possible to change all the addon domains in a cPanel account from :fail: to :blackhole: without having to change each domain manually?
If your wondering why they need to be changed to blackhole, lets say that somebody has a lot of inbound spam which is filling up the mail queue.
View 1 Replies
View Related
Dec 17, 2014
I tried to add ac new subscription and this failed.No I have an inconsistent subscription and get the following error: New configuration files for the Apache web server were not created due to the errors in configuration templates:
Template processing failed: file = /opt/psa/admin/ conf/ templates/ default/domainVhost.php,
error = Template_Exception: No data. file: /opt/psa/admin/plib/Template/Processor.php line: 28 code: 0
Previous error: Template_Variable_Exception: No data. file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
Detailed error descriptions were sent to you by email.click here to generate broken configuration files once again or here to generate all configuration files.
I have Plesk 12.0.18 on Ubuntu
View 1 Replies
View Related
Nov 25, 2014
How to hide from our clients (end users: Plesk customers/resellers) any message related to Apache configuration files failed, like this one:
"Error: Web server configuration for some of your domains may be inconsistent. Please contact server administrator to resolve the problem."
We already see the message within Plesk admin interface, so our customers don't really need to see that, as there's nothing they can do for that.
View 1 Replies
View Related
Sep 4, 2009
Need to make requested URL - remove "//pdf" off the end.
Thought:
If //pdf exists in the URL - remove it.
Thought it would be something like belowe added to the httpd_conf file but not sure.
RewriteRule ^//pdf / [R]
View 2 Replies
View Related
Dec 10, 2012
I am running a web server (Apache 2.2) on a (production)windows 2008 server. I am encountering a little trouble. I have the domain wheatondev-uk.com pointing to this (production) server. This works fine. I have another domain hosted on another(developement) server. This is domain is wheaton-uk.com I want to have the domain wheaton-uk.com point to the production server. However when i change the DNS settings at network solutions by that I mean i change the settings of wheaton-uk.com to point to the IP of the production server...it times out when trying to go to wheaton-uk.com. If I switch them back to the original DNS settings, all the domains load up fine. I feel like this is an apache thing and I need to change something in the conf files.
View 1 Replies
View Related
Jul 7, 2009
trouble with users mis-using hot-linking feature, so he wants some restrictions to b set via htaccess
He has given me a code which is used for htaccess in apache, but he wants this to work in lighthttpd, I am not sure if this would work in lighthttpd htaccess,
this was the code given to me to b worked on:
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
#allow hotlinking for thumbnails
RewriteCond %{REQUEST_URI} !_thumb
#allowed website to hotlink (don't forget to add your own site !!)
RewriteCond %{HTTP_REFERER} !^[url]
#display no-hotlink.jpg instead of the requested image
RewriteRule .(jpg|jpeg|gif|png|bmp|ico)$ [url]
can any one help me for getting this code re-written for lighthttpd version htaccess file and where to enter this code -- using hypervm/kloxo on his vps
View 5 Replies
View Related
Sep 12, 2006
Someone had mentioned a way to use virtual apache configs, this way you wouldn't have to reboot apache each time you add a new domain to your box.
Can you tell me what dso I need to use?
Also is there a conversion tool to grab the configs you have now, and migrate them to the external files?
View 4 Replies
View Related
Oct 30, 2009
my server there it one site
but this site His alexa ranking of 7.000
i need Apache Global Configuration
StartServers = ?
and this
MinSpareServers = ?
and this
MaxSpareServers = ?
and this
MaxClients = ?
and this
MaxRequestsPerChild = ?
browsing heavily on the site, which lead to stoppage of the Apache
Server Information
Intel Core 2 Quad Q9550 2.83GHz
8GB Ram
View 4 Replies
View Related
Nov 10, 2009
Is there any way to dump all of the current configuration parameters that apache is operating with?
I am clear on setting them in apache's config file. What I would like to do is view every parameter apache is operating with.
I am trying to troubleshoot what is believed to be an apache issue on one of my servers.
View 9 Replies
View Related
Dec 3, 2014
I have a couple of directories on my server that require authentication (MySQL DBD and AuthUserFile). Both work fine with SSL off. When I use SSL on directories without authentication that also works fine. However, when I put the 2 together, authentication is by-passed. I cannot seem to get the configuration right to do both. Here is my VH conf file (sanitized):
Code:
LoadModule dbd_module modules/mod_dbd.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
<VirtualHost *:80>
DocumentRoot "/var/www/html"
ServerName myhost.mydomain.com
ServerAdmin mailman-owner@mydomain.com
ErrorLog "/var/log/httpd/myhost_error_log"
CustomLog "/var/log/httpd/myhost_access_log" combined
[Code] .....
View 2 Replies
View Related
Jul 2, 2008
I was recently inroduced to lighttpd being able to run on apache with a different port. So I setup my lighttpd that way.
lighttpd.conf
Code:
server.modules = (
"mod_access",
"mod_fastcgi",
"mod_cgi",
"mod_accesslog" )
server.document-root = "/var/www/vhosts/domain.com/httpdocs/lighttpd/"
server.errorlog = "/var/log/lighttpd/error.log"
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )
and my httpd.conf
Code:
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /lighttpd http://0.0.0.0:81/
ProxyPassReverse / http://0.0.0.0:81/
Now when I created a folder on my server's httpdocs /lighttpd/
everything runs smooth so I got the lighty to work for me.
Okay now that i figure it works I wanted to run one of my subdomain on lighty so that I can reduce the load on the server. Does anyone know how I can setup one of my subdomain to open with lighttpd and keep everything else on apache?
View 1 Replies
View Related
Aug 18, 2007
I want to set the Timeout value bigger for a specific folder.
View 5 Replies
View Related
Jul 10, 2007
After installing Zend with /scripts/installzendopt on a cPanel server I am getting the following:
Code:
root@comet [~]# apachectl start
/usr/sbin/apachectl: Apache 1.3 configuration directives found
/usr/sbin/apachectl: please read /usr/share/doc/httpd-2.0.52/migration.html
Virtualhosts look like this:
Code:
<VirtualHost [IP]>
ServerAlias [www.domain.com]
ServerAdmin webmaster@[domain.com]
DocumentRoot /home/fohrmann/public_html/[username]
ServerName [domain.com]
User [user]
Group [group]
BytesLog /usr/local/apache/domlogs/[logfile]
CustomLog /usr/local/apache/domlogs/[logfile] combined
ScriptAlias /cgi-bin/ /home/[username]/public_html/gb/cgi-bin/
</VirtualHost>
View 3 Replies
View Related
Dec 20, 2007
you can find a article to "20 ways to Secure your Apache Configuration" in this link:
[url]
I have a problem after change permissions :
chown -R root:root /usr/local/apache
chmod -R o-rwx /usr/local/apache
after run above commands when I trying to restart apache show me this error:
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
View 0 Replies
View Related
May 4, 2014
In my computer (Windows 7 Ultimate) I host my sites with Apache 2.2.25 - mod_fcgid-2.3.6-win32-x86 and PHP 5.4.28. In "httpd-vhosts.conf" file from Apache I have my domain set as follows and work fine (http://www.example.com or http://example.com):
Code:
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot "D:/Apache22/vhosts/Example"
ServerName example.com
ServerAlias www.example.com *.example.com
[Code] ....
And I set up a subdomain as follows:
Code:
<VirtualHost *:80>
ServerAdmin director@example.com
DocumentRoot "D:/Apache22/vhosts/DirectorExample"
ServerName director.example.com
ServerAlias www.director.example.com *.director.example.com
[Code] .....
But when I tried to access the page: http://www.director.example.com or http://director.example.com, I was redirected to the page http://www.example.com.
I have DNS configured for "example.com" and "director.example.com". This sites is live in another server.
Error.log files for "director.example.com" and Apache is empty. How can I configure the subdomain to work?
View 2 Replies
View Related
Oct 8, 2013
I'm trying to run Web Blast 2.2.28+ locally trough Easy PHP Dev Server 13.1 (Apache 2.2, Windows 7), but when I click on search it shows ERROR 403 when I open it within my site or the following message appears (blast.cgi content), when I use directly the blast.html page:
#!/bin/csh -f # # $Id: blast.cgi,v 1.1 2002/08/06 19:03:51 dondosha Exp $ # echo "Content-type: text/html" echo "" #setenv DEBUG_COMMAND_LINE TRUE setenv BLASTDB db ./blast.REAL
View 3 Replies
View Related
Oct 9, 2013
I'm trying to run Web Blast 2.2.28+ locally trough Easy PHP Dev Server 13.1 (Apache 2.2, Windows 7), but when I click on search it shows ERROR 500 couldn't create child process: 720002: blast.cgi
View 1 Replies
View Related
Jul 30, 2013
I am trying a webpage siremis whenever i try to login i am getting below error in error log of apache [client 192.168.137.7:4758] AH01630: client denied by server configuration: /opt/siremis-4.0.0/siremis/.htaccess
in httpd.conf following is the rule
Alias /siremis "/opt/siremis-4.0.0/siremis"
<Directory "/opt/siremis-4.0.0/siremis">
Options Indexes FollowSymLinks MultiViews
[code]....
i am using apache 2 and php 5.5.1 and mysql 5.6.12.
View 3 Replies
View Related
Jul 8, 2013
I want to setup a password for a website running on Ubuntu server, and find Apache can be used. It is implemented by config httpd.conf file and .htaccess file.
So I want to ask:
1. In this case, the password is setup for a path on the server configured in httpd.conf file. Like in the following example:
Code: <Directory "/var/www/html/MySite">
The password is setup for the path to Mysite,right?
2. If my content of website is not stored under /var/www folder, I cannot use this way to setup a password for website, right? May use PHP instead?
View 1 Replies
View Related
Dec 2, 2013
production looking to use latest version of apache from apache lounge:
Apache 2.4.7 Win64
Which version of PHP is recommend?
Which version of WinCache is recommended?
Which version of mysql is recommended?
I've looked into WinCache how to install it and hook it up to php, but i'm guessing you add the extensions in the php.ini?
View 5 Replies
View Related
Jun 26, 2008
So here's my situation: I have a rented vent server, that I wanted to point vent.mydomain.com to the IP of said vent server. I put an A record in the dns pointing to the server and all is well. When I type vent.mydomain.com into a browser it take me to the cPanel/WHM page saying "Great Success, Apache is working". Is it possible that I can somehow have that get redirected to the main site or no?
Basically if Im connecting with the vent client, I want it forwarded to the vents IP, otherwise I want to have it redirected to mydomain.com.
View 8 Replies
View Related
Nov 23, 2007
I am a non-tech person trying to configure Nginx to serve static content (apache will remain on port 80 for the dynamic stuff).
Nginx is already installed, what I need is a workable configuration file for nginx so that it serves all static stuff (images and a few folders with static html) and instructions in how to create it. The server is running DirectAdmin panel, Apache 2.24, PHP 5.23 and XCache 1.2.
View 12 Replies
View Related
Nov 26, 2014
We have following rule in httpd-vhosts.conf and it was working all ok.
All of sudden we have found on one day that it stopped working and we did some configuration tweak with this rule but none of them worked.
During troubleshooting, last change was disabling mod_security and after that it started working again. However, next day we had again enabled mod_security to get issue replicated but found it working all ok.
Any clue for such behaviour of Apache ? Why all of sudden following working rule may get stopped working and then starts working again ?
<IfModule mod_headers.c>
SetEnvIf Origin "https://(www.)?(v1.abc.com|v1ak.abc.com|v2.asite.com)$" AccessControlAllowOrigin=$0$1
Header Set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
Header Set Access-Control-Allow-Credentials "true"
Header Set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header Set Access-Control-Allow-Headers "origin, content-type, accept, X-Requested-With"
Header always unset Expires
</IfModule>
OS and Apache Version details are below:
Apache Version :2.2.27(win32), OS: Windows 2008 R2, ModSecurity Rule Set ver.1.5
View 1 Replies
View Related
Jun 5, 2014
I've a Wordpress Blog on a Ubuntu 13.10 server with Apache 2.4.2.
For only one page on this site I've this error and can't find a solution.
View 15 Replies
View Related