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?
We have a screen where users are filling out a form on our website, but if they don't click "submit" before the session-timeout limit, they are logged out and lose their work when they click the button.
So for instance with a timeout of 10 minutes, if it takes 15 minutes to construct their message, the connection will silently time out in the background with no warning.
Is there a way to make Apache respect a keypress/keydown/keyup as "activity", and maintain the session while the user is still typing?
Our server reports that it is using Apache Tomcat/7.0.39
I am new to our own vps with cpanel (though used cpanel for years) and instead of just using the built-in script to install mod_gzip I wanted to use the special mod_deflate for 1.3.37 I've read about since it apparently is much faster
The problem is I've only compiled and built minor things before with step by step instructions - and I realize this has the potential to hose my server so I want to make sure I do it right.
I found these instructions: [url]
if I ignore the mod_accel bits, does it look like that would be fine on a regular cpanel setup?
I'm such a newb I am not sure even what location to unpack those tarballs so even more detailed instructions would be greatly appreciated if anyone is willing to share.
apparently a mod_deflate patch has been available for apache 1.3.37 for some time but since I rely on cpanel as a huge time/knowledge saver, I'd like to hack it into buildapache/easyapache so it's an option just as easy as mod_gzip is (with a simple checkbox)
after poking around I learned that all the magic happens in /home/cpapachebuild/buildapache I've studied how mod_gzip is activated/installed but some steps are beyond me
mod_deflate for 1.3.37 is here [url]the critical files inside are of course mod_deflate.patch and mod_deflate.c
so I assume stick those files into a directory under buildapache, but where do I hack in the patch and build steps?
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.