Config For Apache 2.2 Needed
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
ADVERTISEMENT
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
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
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
May 12, 2008
I want to start a VPS service for our customers, I am looking for a managed server provider that can provide economical server for VPS any one has any idea?
View 13 Replies
View Related
Dec 9, 2008
Assuming that an account on my server is hacked into, is open_basedir enough to protect other users on the same server? I would assume so, since php would not have access to those other accounts? Why is suphp needed?
Ofcourse, I also disabled dynamic loading of modules (apache) and added some disable_functions list.
View 3 Replies
View Related
Apr 20, 2007
I have 2 dedicated servers and one VPS with liquidweb. Lately I am facing quite an issue with support and I think I am posting 2nd time about liquidweb support.
Its all about my VPS, which use to hold 45 clients consumming around 50 % disk space and around 30 % bandwidth.
On 3rd of April VPS started to shoot emails about services failure and continuously went for 2 days. Then on finally 5th April, it went down. So I reported this to liquidweb support by creating a ticket(I created the ticket by shooting an email to support@liquidweb.com not by logging into PIMS). I got an reply in around 1 hr 20 mins that server is up. So i checked it and yes it was up, but with lots of issues. Still were getting service failure emails as they are failing and above all my root password stopped working. So couldn't login into WHM that time.
I reported this back on 6th April. No reply on 6th of April. On 7th april, I sent a reminder about the issue. They repiled by asking for my last 4 digits of credit card for verification purpose (Designatation of that person was written Web Designer) . Now when I ordered this using paypal, there is no question of last 4 digits of credit card. So I politely replied them back within 4 hours that I have used paypal for ordering the VPS.
They didn't reply back on 7th, not on 8th. Finally on 9th, when I lost few customers because I can't login into WHM, I wrote a bit stringly worded post in that support ticket.
To quote myself.....
"OPPS!!!....This has been a tremendous lack of response from you guys. It seems
that you don't have support guys anymore. I have lost few customers
because I can't login into my WHM. And it seems that you have changed my
root password and now not letting me know about this.
Suddenly one web designer is replying my ticket.
Whats is happening there?
Let me know my root password immediately.
Thanks
Krish"
Now after posting this reply, I decided to call them. So within 30 mins of this post I called them. Jason, a system admin replied and we talked politely about the issue. He accepted over phone that it was big mess.
Why big mess?????...because when he restored my old password and I logged into WHM....I don't see any account left . All data lost...everything gone as it appeared there is nothing left.
So he took up the issue of restoring account. He claimed that server was rooted. Now how come after so many days and communications they discovered my server was rooted?
Then he started restoring accounts....all accounts came back but with a loss of around whopping 80% loss of data. Most of customers started complaining about loss of emails and data. On 10th again I reported them about such loss and mysql which was not working. They fixed the mysql issue, but no database was left.
Then I got busy on 11th, could not follow it up as I should have been doing. But still as I was waiting replies from my customer about how much is the loss (I was telling them that we should be able to get them back from backup).
So I reported back to support on 11th as follows...I quote myself...
"I am waiting for reply from them. I noticed one thing. That the content is not
restored properly...as there are only 13% of space used right..which should be
around 50%."
On 12th I got following reply...I quote...
View 10 Replies
View Related
Jun 1, 2008
Anyone having first hand review of Netfirms ....
They are offering 250GB storage , 2000GB transfer ( Sure, Overselling ) at :
netfirms.com/max
The above link will give me a whole year for $10,
Just want to inquire about "first hand review of Netfirms" and no criticizing on there price's and overselling plans.
View 14 Replies
View Related
Dec 5, 2007
I´m thinking about setting up a load balanced setup. I´ll start with load-balancing MySQL, and after, I´ll go with the webservers. MySQL is currently more important.
I have two different bandwidth providers, with two different networks, in the same datacenter. Pings between both are under 1ms.
I was think about buying 4 servers, two for a MySQL Cluster (NDB), and two for a UltraMonkey Load Balancer setup. The MySQL Cluster API would be installed in another server, currently in use.
So, what else would I need? My intention is to have two servers in one provider, and two servers in another provider. Would this kind of setup require large quantities of bandwidth? Both providers wouldn´t let me pass a diferent cable for this purpose, so I would have to use the uplink.
Also, for webservers, I would only need two more servers, right? Maybe rsync them, and have sessions stored in database would be the best choice?
Thank You
View 6 Replies
View Related
Aug 13, 2006
I would like to setup a load balancing pair of servers. Currently, I have about 7 servers, all of them working stand alone. I would like to use two of them to host some "power-hungry" websites, that require high availiability. What kind of hardware will I need to do it? I´ve already searched for some, and found load-balancers from F5 which seem to be very good, however they seem to be very expensive (9000 dolars maybe?). Is there any solution which might end cheaper? Will I need anything else?
View 14 Replies
View Related
May 9, 2008
I need 2 dedicated DNS servers.
I'd like one server on the east coast and one on the west or close to it.
They will be used for primary ans secondary dns only.
Simply running Bind and webmin.
I need cheap servers since they are pushing dns data around.
Not very bandwidth intensive or cpu resource intensive.
The most important thing is that the backbone redundancy is amazing.
You can get a good server at a lot of place these day, but who has the staff and backbone to make sure these servers are not bottlenecked and up and running.
View 6 Replies
View Related
Mar 25, 2008
If I wanted to install OpenVPN to create a personal VPN (low bandwith/CPU) what kind of minimum specs should I be looking into?
I contacted Panix.com to enquiry about their $10/month shell account I asked them about getting OpenVPN installed and they replied something like they do not allow it in the shell because it needs a server with a higher spec, which is odd to me.
View 12 Replies
View Related
Jun 6, 2009
I'm running a CPanel server and wondering which of these users are safe to remove and whats the best way to do that?
Code:
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
avahi-autoipd:x:499:499:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkituser:x:87:87:PolicyKit:/:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:498:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
avahi:x:498:497:avahi-daemon:/var/run/avahi-daemon:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
torrent:x:497:496:BitTorrent Seed/Tracker:/var/lib/bittorrent:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
View 2 Replies
View Related
Apr 1, 2009
When a registered memory is needed ?
I read that if you using more than 4GB you HAVE to use it, because it causes a huge overload into motherboard because it suck so much energy.
But is real life is this really true ? Is it really needed ?
View 8 Replies
View Related
May 20, 2009
What would the average person looking for a VPS look for? I know each customer is different but I am talking just the most common. I am looking for specs to look for if I do a review site. That way I will review the type of VPS's most people are looking for.
I am looking for sellers to perhaps post their best selling VPS plan.
Include your guesses/experience with the following
Hard Drive:
RAM:
Bandwidth:
IPs:
View 6 Replies
View Related
Jul 11, 2008
Can anyone recommend a confirmed solid dedicated host that offers reasonably priced 1000 Mbps ports (preferably flat rate shared) and will allow us to route a /24 to them?
View 14 Replies
View Related
Jun 4, 2008
i run a linux server with the planet it comes with ensim installed.
as some of you probabley heard about the fire at the planet and they offered to move my server to another facility but they have to change the server ip address which i agreed to it
the server is back online but i'm unable to acces any websites
i asked them to point all domains to the new ip address but they are really busy and i assume it would take a day or 2
when i login to ensim and list all sites i still see the old ip address listed under each domain, do i need to change that if so how?
will everything work once the they modify dns records?
View 2 Replies
View Related
May 13, 2007
I've searched quite a bit for myself now, but I have yet to find a place that offers what I need. Most of the servers seem way too overpowered for my needs, but the lower-end server offerings I've found don't have the necessary space and/or bw.
What I'm looking for is something along these lines:
I basically only need to run Apache/Lighthttpd, PHP and MySQL, along with a custom program that would only use 1-2% cpu at its peak and not more than 1mb memory. The web server part would probably not serve more than 10-20 simultaneous visits at its peak.
CPU and memory requirements are therefore very small for me. However, I need 10gb space at the very least, along with ~200gb bw.
I would preferably like the server to be located in Europe, or have very good connectivity to Europe, as I need as low pings as possible.
Unmanaged and no control panel needed.
View 14 Replies
View Related