The issue I'm having is that mod_deflate is compressing binary data, outputted from PHP scripts as well (undesirable).
The script sends a Content-Type: application/octet-stream header, so I'm guessing that mod_deflate is simply not looking at headers generated by the script before compressing output.
I've even changed the default MIME type for Apache to application/octet-stream but to no avail.
Note that static content which has a defined MIME type doesn't get compressed - it's only the output generated by scripts.
Also, there is no defined MIME type for the .php extension.
I've also tried to disable the filter for certain directories, however, Apache doesn't seem to have an opposite to AddOutputFilterByType (although it does for AddOutputFilter (RemoveOutputFilter)). Also, I can't seem to stick in a negative <Directory> command either, which is a pain :/
i run an Internet radio station, and my current web host doesn't support the MIME Types i need for people to be able to click on the links to listen to it
so im looking for a new web host with cpanel preferably. and supports these MIME Types
I'm running plesk 11.5.30 and I'm having an issue with the new word doc format (.docx) being recognized as a zip file. I've read several posts that explain what mime types to add, and I've found the spot where I need to enter them. The part I'm not sure about is whether the custom mime types field is an addition to the current mime types or a replacement list. Does that field just needs the new mime types or a full list?
I have a problem with a .dat file on my webserver. It seems to download correctly (I have added the mime type), but my application refuses to use/read the file correctly.
This is moving from an Apache server, where it worked perfectly, to IIS6. Apache reported the mime as text/plain, whereas I've tried both this and application/octet-stream on IIS.
The dat-file is actually a ZIP password protected file containing an XML-file.
Could there perhaps be some issues with dato format? I'm most greatful for any insigth into the matter.
I have an IIS 6 website with a strange problem. All content types are sent as text/html. For example, jpegs, gifs, and others all are listed as text/html when I do a header check. Anyone ever seen this or know what might cause it?
Some articles on the Net seem to suggest (may be I have misunderstood it) that S/MIME, which uses x.509 certificates is better for implementing secure email as the sender can use the x.509 cert to encrypt and digitally sign the messages and the recipient only needs an email client that implements x.509.
Is this true? Or, will key pairs still need to be generated and the public key shared with the recipient in advance even when using S/MIME?
what are all the different types of websites? i know there's e-commerce, forums, blogs, personal and etc. what are some other types of websites people start?
Is it possible to setup ftp accounts that have the ability for the users to view files on the server and upload their own files, but not download anything from the server? If so, how would this be done, if not, then as a 2nd option, do most hosting companies provide the option to disallow downloads on an ftp account if you need to do so, but allow uploads?
I cannot find a suitable forum for this query so here goes on this one!
I am doing a charity site as a voluntary exercise. They currently host with Eclipse who have the Zeus server (site developed in Frontpage).
This is not an open source server. Thing is, what are the issues of say developing on my loacal machine (apache or IIS5) and having the remote being Zeus. I use Dreamweaver 8 for developing.
I would of thought this does not matter as the server technology is transparent and down to configuration files. The directory structure both ends can be the same.
I'm in the process of migrating a site to a new server. we're not ready to move email yet, so ideally i would like to just move web traffic at this time. i would like to be able to do this without changing the nameservers with the domain's registrar at this time.
which records to i need to manipulate in order to do this?
can i just change the A record for domain.com to point to a new IP and this won't impact the current email or do i need to move the entire site?
My biggest concern right now is impacting email by moving the everything to the new server.
to edit a DNS Zone (via WHM=> DNS Zone Edit) of a domain hosted on my server & which NS's are routed to.
New setting should route domain to a seperate server (i.e HTTP, FTP) and leave EMAIL on my server.
I've changed all settings, except MX & mail CNAME, to the new IP (This includes NS's, A's, CNAME's - WWW & ftp). Still the WWW is not working and email has stopped working localy.
I have recently updated my cPanel/WHM to the latest stable version and with one (and maybe a few more) of the DNS zones I cannot edit using cPanel and I get this error:
Unable to parse zone: Error while parsing zonedata for THISISMYDOMAIN.COM: expected valid serial, line 4 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.
What can I do to fix this as I need to edit this DNS zone urgently.
I am currently using WinSCP to edit files on remote servers on the fly without having to download them and then open them. WinSCP works fine, but today I experienced a severe problem for a second time.
When saving a file (a css file), WinSCP gave me an error something to the effect of "Lost connection - Could not list directory"...or something like that. When I reconnected, the file has gone corrupt at 0 bytes. Ultimately, the file is history!
Thankfully, I had a backup of the file, but more specifically, I am a fan of "Ctrl+A " then "Ctrl+C" before saving any file when doing live edits. This is what saved my butt!
I have a continuous problem of losing my connection with the remote servers, but when I connect via SSH to my local servers (either locally here or when I am mobile), I do not believe I have EVER lost my SSH connection.
My question is this...
Is there another FTP program out there that anyone can recommend that will allow me to edit files over FTP that does not require download, then open? Filezilla works great, but to my knowledge, I can only download each file, then open.
I have reported the problem to the host and we have gone through the settings with WinSCP and I have also been to WinSCP about this issue...all to no avail.
I am trying to edit crontab using crontab -e, I seem to get to it okay but I am unable to edit anything in there, at the end of the file there are ~ in there, and I cant even delete them. Its like the file is locked.
There is 1000MBPS network set up between three computers and server.
Server has files which program saves.
Program is being run in three different computers.
Each computer tries to get into same file (eg last bill) that was created before. First computer goes in within seconds. second minutes and third just crashes. No matter which computer runs it first, last one crashes.
So called "server" is running on Windows XP pro since it just needs to keep one program files. However I cant find out whats causing file sharing over network bug that crashes access to same file if connection from many computers.
I am having a problem on my VPS. I am running the latest version of Apache on Windows Server 2K3, and after editing httpd.conf to allow virtual hosts (#Include /conf/extra/httpd-vhosts.conf) and trying to restart the service, an error appears saying the operation failed.
I have even tried restarting/starting the service via services.msc
If I am not using the default httpd.conf Apache will not restart at all... it is very strange. I have also tried doing a repair of the installation of Apache.
I want to put custom values in /etc/postfix/main.cf, but I'm afraid plesk would overwrite them during upgrade. How can I safely add custom values to main.cf and preserve them duing plesk updates?
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.
I added the following to my cpanel .htaccess file on my hosting account:
<FilesMatch ".pdf$">header set x-robots-tag: noindex </FilesMatch>
This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?