Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Optimal Apache configuration for serving large files?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache HTML Header Injection  
Author Message
manuel1

External


Since: Jul 10, 2003
Posts: 1



(Msg. 1) Posted: Thu Jul 10, 2003 8:27 pm
Post subject: Optimal Apache configuration for serving large files?
Archived from groups: alt>apache>configuration (more info?)

Hello,

I am currently preparing a webserver - I have done that several times
before, for the often found scenario where some html files, some images
and some scripts shall be served under several virtual domains; the
scenario that apache is best suited for, I guess.

But this time it's a whole new scenario, and maybe someone faced that
before and can give me some advice where I should deviate from the
configuration for the default scenario.

What the server is supposed to do is serving large files that users will
download, e.g. Zip files etc.

I know that probably FTP would be a better service for that, but we need
a php script on that server.

What I have already done to optimize the server is that I build a slim
kernel, compiled Apache 2.0.47 only with what I really really needed,
same goes for PHP 4.3.2:

Apache:
../configure --prefix=/usr/local/apache/2.0.47 --datadir=/var/wwwroot
--disable-access --disable-auth --disable-charset-lite --disable-include
--disable-log-config --disable-status --disable-autoindex --disable-asis
--disable-cgid --disable-cgi --disable-negotiation --disable-imap
--disable-actions --disable-userdir --disable-alias --with-mpm=leader


PHP:
../configure --with-apxs2=/usr/local/apache/2.0.47/bin/apxs --disable-cli
--with-config-file-path=/etc --disable-short-tags --disable-all
--enable-inline-optimization


A first question could be: was it wise to choose "leader" as the mpm on
a Linux system?

Then, which StartServers, MaxClients, MinSpareThreads etc. settings are
best for my scenario (can I use these at all for "leader"?)?

What else to consider? Any hints anyone?

Thanks in advance!

--
Manuel

 >> Stay informed about: Optimal Apache configuration for serving large files? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Win2k pro, apache 2.0, php - downloads php files, how do i.. - I've searched groups for this topic and found many results that didn't work in my configuration. I'm using: Windows 2000 pro Apache 2.0.43 (distributed with indigoperl 2003(latest version)) PHP 4.2.3 (distributed with above distrbution) Apache works..

Browser want to download php files ??? - Hi, i installed a lot of apache servers with php support under suse linux now i use debian and now my apache server don't work with php ?? i installed apache 1.3.27 with php4 4.2.3.4 i have changed everything at the httpd.conf : LoadModule php4_module....

download troubles with ppt files - i programmed a small php-based file-manager which runs on a apache 1.3.27 webserver/linux, where you can up/download files and so on (the usual things). now i have a pretty strange problem: i can upload 5-80mb .ppt files, but can't download the files..

first timer uploading gif files - i heavily edited files in fireworks and dreamweaver and then, I uploaded into my redhat machine(8.0) that runs current apache server. I even put flash up and everything is fine. Except, all these picture gallery that I put up is coming up all scrwey..

APACHE and PHP module - Hi , I got my multiple sites running now and I found I need to use PHP config directives in apache ..So I set up PHP to run as a module last night and got it to work ( I think !) .. How can I test PHP to see if its in the new configuration ?.So far I can...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]