Apache Configuration Parameters
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
ADVERTISEMENT
Oct 28, 2007
What are the ./configure parameters commonly used for Apache (2.2) and PHP (5.2) installations on web hosting servers?
View 5 Replies
View Related
Oct 30, 2014
I've migrated from Apache 2.2 to Apache 2.4 few days ago. It is installed as a service on my Windows 7 developer machine and works in bundle with PHP 5.6.2.
Today I've discovered that GET parameters with Cyrillic characters in URL string are empty.
For example URL looks like this: site.com/search.php?q=%C8%E2%E0%ED%EE%E2
URL-encoded string here is Иванов (%C8%E2%E0%ED%EE%E2)
When I try to use this GET parameter in my PHP script - the variable $_GET['q'] is empty. If I put latin characters in this parameter - $_GET['q'] is taking the corresponding value.
Doesn't look like it's a problem of PHP as I think. Otherwise at least something should stay in the variable. And also I would like to add that this was working absolutely normal on Apache 2.2.
View 9 Replies
View Related
Oct 26, 2009
What are the parameters, other than the tcp services(http,smtp,ping,dns,mysql), would you monitor on a server/vps to ensure its smooth running(free mem,disk usage,user_beancounter etc...)? if any, what is the monitoring tool/and the plugin that you use?
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
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
Feb 10, 2015
When you try to change the password of the client to login the control panel gives an error: SQLSTATE [23000]: Integrity constraint violation: 1062 Duplicate entry '<login>' for key 'login'
The impression that instead of UPDATE done INSERT.
Parallel Plesk Version: 11.5
OS: Debian Squeeze
View 2 Replies
View Related
Jun 3, 2015
I'm using latest plesk with ubuntu 12.04, apache and nginx, gzip is enabled and working fine, except for JS and CSS files wich have version parameters in the URI, for example :
[URL] ....
here is my conf in /etc/nginx/conf.d/gzip.conf :
Code:
gzip on;
gzip_disable "MSIE [1-6].(?!.*SV1)";
gzip_proxied any;
gzip_types text/plain text/css application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript image/x-icon image/bmp image/svg+xml;
gzip_vary on;
Gzip is working fine for every other ressources loaded
I know i can strip these ?ver= using PHP, but if nginx could just enqueue them properly as they are...
View 3 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
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
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
Jun 30, 2014
After upgrade to Parallels plesk v 12.0.18 update #5 we were getting a blank screen. We have managed to get logged into the server but have errors - plus all the websites are down with a 404 error Apache Server at gardenbuildings.domainame.co.uk Port 443.
On the Plesk management it is showing: New configuration files for the Apache web server were not created due to the errors in configuration templates:
mkdir: cannot create directory `/var/www/vhosts/system/domainname.com/conf': No such file or directory mktemp: failed to create file via template `/var/www/vhosts/system/domainname.com/conf/httpd.conf.XXXXXX': No such file or directory Can not create temporary file .
Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
Also when trying to resolve the issues and generating all configuration files I am getting this error:
Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => addisonousebank.co.uk,blog.addisonousebank.co.uk,garages.addisonousebank.co.uk,
[Code] ....
View 2 Replies
View Related
Feb 20, 2015
I just installed a new server and I would like to transfer all virtual-hosts on new Apache installation.
I updated all IP addresses in each .config file and simply uploaded the edited conf files into new /etc/apache2/sites-available folder. I rebooted Apache, but through Webmin I can not see them on Existing virtual hosts list. Why? Do I need to manually re-add all the 30 sites?
View 1 Replies
View Related