Apache 2.2 & CPanel :: Some Websites Download Instead Of View
Oct 16, 2007
I'm trying to get setup with Apache 2.2, and did just fine on one server but the second one is giving me some troubles. I'm having an issue with some sites wanting to download instead of display. Does this ring any bells with anyone right off?
httpd.conf appears to be okay as far as I can see, but obviously something is not quite right somewhere.
On Cpanel/WHM. I have just moved from a VPS to a dedicated server. I reinstalled munin, so get some stats via that. I used to have apachetop loaded on my VPS for when I wanted a 'near realtime' streaming view of apache access.
I'm wondering what the best solution is to get a good view of apache, like what apachetop did, plus also it would be nice to have a real-time monitor of MySQL activity, HDD activity (such as I/O queues, etc. Something along the lines of the perfmon on Windows servers.
What is my best option?
Also, with Nagios, when I look at the website, it seems there are two options. Load it on a single server and then load the stats via [url]or have the Nagios 'stat collector' on one machine, and have it gathering stats from multiple machines.
If you only install it on a single dedicated server, do you really have to be on the console and connect to the Nagios stats via localhost, rather than connecting remotely? Ideally, I would like a quick, easy to setup solution, but if it takes some configuring, I can deal with it, as long as there is some documentation. My main goal is to get the real time type monitoring, you get with window's perfmon.
I have Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l (within xamp 1.7.3, on Windows 2008 R2) and several times a day I cannot access my websites while ftp, remote desktop, hmailserver is fine.
When I restart Apache it starts working immediately, but within a few seconds it goes back to no response stage.
I m trying to setup a reverse proxy with several site that will redirect the request into several internal server.I wanted to do that with several VirtualHost (like shown below). Unfortunatly whatever I type on my browser testsupport.xxxx.com or support2.xxxx.com I m redirected at the first of the config file (in the exemple http://10.253.12.41/.Is it the ServerName key that will redirect to the right proxypass ?
We're running a departmental intranet site on Apache 2.2 (on Windows Server 2003, if that matters). I'm trying to figure out how to post exe files on the web site so I can create a link and users can download the programs.trying various changes to my httpd.conf file, but no matter what I tried I get a 403 Forbidden error and the error.log file shows an error "Options ExecCGI is off in this directory:...".
1) I've tried putting the EXE in various folders. 2) I don't have a .htaccess file and I don't see anything in the httpd.conf file that seems to specifically relate to access for this file type. 3) If I put a zip file in the same folders, I am able to download or open it. 4) The httpd.conf file should be whatever was created when we installed Apache.
I have recently had number of websites that link directly to images from my website. This is not hotlinking, it is direct server request. As an example: on the linking website there is image gallery script with thumbnails and when the visitor clicks on the thumb it calls the image from my website.
I block their IP-s in .htaccess, but it is not the best way to stop them since IP change. Is there any way, similar to anti-hotlinking, to deny such direct access to my images by domain name i.e. to allow only from my website and deny from all others. Or something else that could work in my case with .htaccess.
I am migrating to apache httpd 2.4 on windows xp. The current server currently has exe programs that execute as cgi programs. When I try to use one of these links, apache just servers the programs as files for download. How do I configure my httpd.conf to run these instead of download them?
The problem is that HTTP file download speed is nearly 10 times lower than FTP download speed. What could be limiting it? It's about 7Mb for FTP and 70-100Kb for HTTP. Strangely, download speed is OK when browsing from the server itself (e.g. via RDP)
After downloading httpd-2.2.29-win32.zip and generating SHA1 and SHA256 checksums from the file, they do not match the checksums posted on the download page.
I'm having an issue on my buddies website. He keeps getting this weird login prompt whenever you view his website. I thought it was just for his site itself but then I remembered e107 never has a pop up prompt to ask you to log in. I looked closely and realize it said its for the cPanel. So whenever you try to view the index page of his site it asks you for your user name and password. Very odd... Anyone know what could be causing this.?