Apache 2.x Config Entries
Apr 13, 2009
I used to have a dedicated server running Apache 1.x (1.3 I think) and in my httpd.conf there were entries about keepalives, maxservers, minservers etc.
I've now got a VPS from FutureHosting, which is brilliant. In my httpd.conf file though, there are none of the above entries. It is running the latest version of Apache (2.2.11).
Are all the keepalive / minservers settings handled automatically in 2.2 or do I just have a default setting and maybe need to add them manually?
I don't have any load issues so haven't touched the config so far.
View 5 Replies
ADVERTISEMENT
Jan 28, 2008
Centos4/WHM/Apache 2.2.6/eaccelerator
My access_log is only showing entries like:
127.0.0.1 - - [28/Jan/2008:17:26:46 -0600] "GET / HTTP/1.0" 200 2860
127.0.0.1 - - [28/Jan/2008:17:27:30 -0600] "GET / HTTP/1.0" 200 2860
127.0.0.1 - - [28/Jan/2008:17:27:31 -0600] "GET / HTTP/1.0" 200 2860 ....
View 1 Replies
View Related
Feb 15, 2013
I have a lamp server setup with a couple of vhosts. Investigating the log files for a situation I found that it seems to be missing some entries. The access log contains a long list of files (images and css) requested by the client regarding a request to a page (having a specific url as referer), but the actual request is missing. The url called is an automatically generated url that should only be available as an unsubscribe link in emails send to a specific user, thus the use of it in the logs is limited
At the same time I can find log entries in our database that I am 99.9% sure can only originate from this specific URL being requested (never say never). These log entries are stamped just before all the auxiliary requests having the url as referer, but again the actual request is not to be found.
View 1 Replies
View Related
Jun 3, 2008
I have domains parked on a subdomain. Since i updated the apache configuration with cPanel the parked domains just show the default apache configuration. The domain shows up under parked domains. I can delete the domain and readd then it works. However, that isn't a good option cause there are 100+ domains.
View 6 Replies
View Related
Aug 26, 2014
Basically I would like to record only certain status code entries in my access log. For example I would like to skip all entries with 200 status.
The documentation under "Modifiers" [URL] .... works somewhat but it still makes an entry in the AccessLog file.
This line in httpd.conf
View 9 Replies
View Related
Oct 6, 2007
ive just upgraded to Apache 2.2.6 today and ive found a problem. Im trying a new way of doing mass virtual hosting using mod macro.
<Macro vhost $domain $path>
<VirtualHost *>
VirtualDocumentRoot "$path/Web/"
ServerName $domain.spkweb.com
ErrorDocument 404 "drive:/folder/404.php"
php_admin_value open_basedir "$path/Web/;$path/Temp/"
php_admin_value upload_tmp_dir "$path/Temp/"
<Directory "$path/Web/">
Options FollowSymLinks
AllowOverride all
Allow from all
</Directory>
</VirtualHost>
</Macro>
Use vhost DJSmithy "drive:/Hosting/DJSmithy"
Mostly it works fine but if there is a 404 then i get a 403 permission denied error instead of the error page. the folder that contains the error page does have a <directory> bit for it and i even tried adding it into the virtual host but i get the same result.
if the file does exist then it loads like normal
can anyone see any problems with my config or do i have to do something diff for 2.2.6?
View 2 Replies
View Related
Nov 9, 2007
I had to switch to Apache 2 from Lighttpd and I'm running into a little bit of trouble trying to make it handle all my traffic. I'm using the worker MPM module, which has the following default config:
Code:
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
I need Apache to be able to handle about 200-500 requests per second. I tried increasing ServerLimit and MaxClients but that didn't work very well.
View 1 Replies
View Related
Sep 27, 2007
I have kind of inherited this server from another person so I'm not totaly sure how it was set up. It is a:
red hat machine running
2.6.9-22.0.2.ELsmp kernel
running apache 2.0.52(red hat)
at any rate this server mainly serves up images but also a few video encoded in flash(.swf files). Basically the issue at hand is there are a few domain names that all point to this server but only one domain name will let the .swf files stream correctly. All other domain names will wait for the whole thing to download before playing. I'm pretty new to apache 2, but I do know apache 1 pretty well. I'm not totally sure where to start with all this. The server is set up with no virtual hosting for each domain which I think could a problem.
View 2 Replies
View Related
Jul 22, 2009
how can i compile apache and php in a way that i want?
a customized compilation of php and apache?
will it be gone after plesk update?
or has plesk a module to work as easyapache in cpanel?
View 3 Replies
View Related
May 20, 2008
i thought for moveing my apache 2.0 to 2.2 but iam in little bit confused for max client and keep alive setting in normal apache 2.0 we can see that in httpd.conf file but in apache 2.2 we can able to see that all,any one help me in finding these kind of setting and move my apache 2.2 without any issues
View 0 Replies
View Related
Apr 20, 2009
I run a Perl/CGI script from a Web page to download some files located in a Linux server. When I click from a Windows XP on the link of the file to download via this Web page (IE), a dialog box will be displayed to ask me to "Open" or "Save" the file (.txt, .doc, .xls,...) but for some extensions like ".dat" or ".asc", the dialog box ask me to save it only and I have not an "Open" button.
I tried to configure Apache to add these extensions as text/plain by adding these lines in http.conf:
AddType text/plain .asc .txt .dat
How can I add these extensions (.dat, .asc and other extensions) to Apache configuration to be able to open it with Textpad or Notepad?
I hope that the users will be able to open it with Notepad or TextPad without saving it. I know that we can add this type directly in the stations XP but I have a lot of users and I cannot manage that. I hope to perform it from the server. I think something is wrong or missing in my AddType, AddHandler or LoadModule?
View 5 Replies
View Related
Feb 24, 2015
c:Apache24bin>openssl.exe
WARNING: can't open config file: c:/openssl-1.0.1e-X64/ssl/openssl.cnf
OpenSSL>
View 1 Replies
View Related
Jan 26, 2015
I got this message now for the second time:
Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainWebmail.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
How can this happen and how to solve this?
View 3 Replies
View Related
Jun 6, 2014
I have put up a WAMP server that is based on Apache2.4.4. I am trying to utilize the rotatelogs.exe to rotate my access log every night. I have this working on IBM HTTP installations. IBM's HTTP is based on Apache 2.2. why the CustomLog command is not working? The command under my Virtual Hosts that I am using is:
<VirtualHost *:80>
ServerName xxxxxxxx
DocumentRoot C:wampwww
[Code]....
View 1 Replies
View Related
Dec 11, 2013
I am trying to get a Apache (Win7x64) to run using totally custom config files, so far I have this:
Code : httpd.exe -f ......confapachehttpd.conf
Loads fine and here is my trivial config:
Code:
Listen 8082
ServerRoot webinapacheapache-2.4
ServerName fitrak.me
DocumentRoot webhomewebsites
Regardless of whether I make the DocumentRoot absolute or relative Apache still won't load index.html
500 Internal Server Error
Nothing coming up erroneous in the logs...WTF am I missing???
The port is not occupied...
View 2 Replies
View Related
Jan 31, 2014
When i do httpd -S i notice one of my sites show with 2 config source. but i just config one file for the site.
for example:
[root@apachesrv ~]# httpd -S | grep devel.site.com
default server devel.site.com (/etc/httpd/sites/000-default.site.com:1)
port 80 namevhost devel.site.com (/etc/httpd/sites/000-default.site.com:1)
port 80 namevhost devel.site.com (/etc/httpd/sites/devel.site.com:1)
the problem is the following, when i do reload and in this moment the config is bind this result, the site is blank.
Why it shows me this.
version of apache
Server version: Apache/2.2.15 (Unix)
View 1 Replies
View Related
May 26, 2009
How can I setup my control panel to update the Apache config file
View 4 Replies
View Related
Oct 29, 2008
I am trying to do something that I believe is fairly non-standard. What I am looking to do is create a system where I can rapidly deploy web sites without having to restart named and Apache. For example, if a customer completes a process, I want to be able to turn that site on immediately using a temporary domain (somecompany.example.com or othercompany.example.com).
With some programming language (hopefully PHP) I would like to get the customer up and running with their site immediately without having to restart the server. While doing some research I found I could use MyDNS which uses MySQL to manage DNS data instead of configuration files. MyDNS can be updated on the fly.
For Apache I have seen wildcard configurations, but everyone seems to be suggesting the use of mod rewrite. I would prefer that the domain maps directly to a specific folder:
somecompany.example.com -> /sites/somecompany/htdocs
(*.example.com -> /sites/*/htdocs)
Does anyone know how I might do this with Apache. It seems similar to user directories (example.com/~username -> /home/*/htdocs)
View 4 Replies
View Related
Feb 26, 2015
I have a task of converting a current Win Server based apache server from multiple IP based virtual hosts to a full name based virtual hosting.I'm famiilar with the steps but I was wondering if there are any gotchas in Windows that I should be aware of. It seems that now matter what I change in the new config it doesn't work or work as expected.
View 1 Replies
View Related
Dec 16, 2007
I just moved to a new vps and I have "ns1.domain.com" and "ns2.domain.com" entries for my primary and secondary nameservers as well as simply "ns1" and "ns2" .... are these the same thing? Is there any harm in having both? Any feedback appreciated!
View 2 Replies
View Related
Mar 16, 2008
I have been searching through threads on WHT, but have not found anything really conclusive regarding this.
If I were to list two A records for the same domain name on my nameserver, such as:
www.mydomain.com -> 123.234.123.234
www.mydomain.com -> 234.123.234.123
How would most browsers handle this?
Would it only try the first entry, or would it try the first entry, and if the specified IP is unavailable it would try the second entry?
View 14 Replies
View Related
Sep 25, 2007
I have been trying to figure out how to allow a range of IPs with APF. I finally came across the CIDR page on wikipedia and read it though, and now I get it. I just want to confirm one thing before I implement this.
I run a gameserver where I want to allow everyone in the world to connect on a certain port, so can I use this entry?
Code:
tcp:in:d=27015:s=192.168.0.0/0
From what I understand, using the /0 CIDR suffix basically means "all IPs". So technically I could use ANY IP address for the source with the /0 suffix and it will work right?
View 6 Replies
View Related
Sep 11, 2007
On of my client has registered his domain (austasiapackaging.com) with BlueCentral.com . BlueCentral also provides them with mail service.
Now I have to provide web hosting for this domain. Should I change the nameservers entries or should I change the A Record? Or do I change them both?
View 9 Replies
View Related
May 18, 2009
I run my own Mail Server.
Everytime I create a new website account in WHM I am required to go in and manually edit the DNS record to include the MX record of my mail server.
I would like to streamline the process and need a way to make WHM automatically include my MX records every time I create a new account. Is this possible?
View 2 Replies
View Related
Nov 4, 2009
All accounst in my dedicated server start to show a very strange error_log with the following entries:
====
[04-Nov-2009 21:28:51] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_interbase.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_interbase.dll: cannot open shared object file: No such file or directory in Unknown on line 0 .....
====
Always when a php script is accessed, new entrie with this error above is created.
I dont understand because php script have not any relation with intebase or pgsql and my server have not this e db installed.
View 5 Replies
View Related
Aug 14, 2008
how to delete the excessive SSL keys / CRT's from WHM?
I have so many of these freakin' things (from doing it WRONG the first few times) that I want to clean it up.
how do you clear out the KEYS / CRTS / Signing Requests from WHM?
View 3 Replies
View Related
May 23, 2008
I discovered this forum googling and i think is a very good community, so i registered and well... as any noob, started to ask questions U.U im new in this stuff of web hosting... though i know some things... i dont have experience, its my first job in a small web hosting company, and we have a strange problem, we loss entries on /etc/localdomains when we migrate domains from one server to another and nobody knows why... we can fix it trough deleting the dns entry and creating it again on the target server. I know its kinda messy (for me at least) i hope u can give me at least an insight of where the problem might be.
We do the migration trough the migration tool of WHM
Here is some data about the target migration server, if u need something else... please tell me.
CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0
uname -r
2.6.18-8.el5
vmstat 5 5 ......
View 4 Replies
View Related
Feb 7, 2007
I'm running a dedicated server with Plesk 8.1
For all newly created domains, they will automatically adopt a DNS template which I've set up in Plesk. But for my own domains (not clients) I've changed my MX entries in my DNS Settings section to point to the server of that of Gmail (Google). The primary server with the highest priority is "aspx.l.google.com"
To get to the point...
I receive emails on the Gmail interface, which is stored on the Gmail server, though I have a slight problem when it comes to local emails. In other words...when my server sends out an email to myself (either from a contact form, daily log files, etc...) I don't receive the emails through the Gmail interface, but rather through my POP server, which is logical, since my server is most probably configured to use "mail.yourdomain.com" and not "aspx.l.google.com".
Question :
How can I have both incoming emails (from other domains/servers) and local emails (from my own server) go through the Gmail server? I'm guessing that I'll have to edit Sendmail or PHP or something, though I'm not sure, that's why I'm posting this.
Sorry if the post is a bit confusing. I tried my best to explain the situation, though if you have any questions, please respond with them.
View 2 Replies
View Related