I have an epub file on my server, and it was recently mirrored by someone else's server. Both servers run apache2. When I access the file on my server, Firefox 6 begins to download it as a file. When I access the file on the other server, it starts showing up in the browser window as gobbledee-gook.
I have compiled apache httpd from source on Mac OS X 10.8.
The server loads the pages but not the related css and javascript files.
I want my XAMPP Apache server to host a file (The file is around 250mb) but the server closes the connection and won't let me download the file? Does xampp or apache have any download size limit or something?
Tested with a smaller file , the problem is still present.
I have a few large files on my server (namely a txt file with 32 million digits of pi in it) on my webserver, and occasionally when I access it in a web browser, it might work once or twice, but if I access it any more than that, it seems to crash.
I have perl script which is setting header with following command
print "Content-Disposition: attachment; filename=test.csv\n\n";
This script is behaving differently when deployed on web server IIS and Apache.
When the code is deployed on apache web server, I am able to download the file test.csv on android mobile.
But When the same script is deployed on IIS server, download is always unsucce
I am currently writing an admin page for my webserver, to make it easier on myself to create new apache domains from my browser. Everything is pretty much working as I want it to, except for one thing.
To elaborate: I have a cron job on my server running a bash script as root that checks a file containing a list of domain names that I want to be created.
On http://httpd.apache.org/docs/2.2/logs.html
Anyone who can write to the directory where Apache is writing a log file can almost certainly gain access to the uid that the server is started as, which is normally root. Do NOT give people write access to the directory the logs are stored in without being aware of the consequences; see the security tips document for details
How does this work?
I have a apache machine which is serving a .js file. That file should be the only file that need to seen.
I have configured to do so in my apache like this :
<Location /var/www/test/test.js>
Order allow,deny
Allow from all
</Location>
The site address is test.in which points to test.js file in /var/www/test directory. That is working fine.
What are the proper permissions for a directory (that contains a file that contains a php script) and a file that contains a php script? I want apache to send php code to the parser and receive the result, but I don't want apache to ever send the php code itself to a users browser. I know that apache has to be able to search directories to find a file.