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

mod_bandwidth, not working on PHP files

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  apachectl start and ssl.conf  
Author Message
kasper1

External


Since: Dec 03, 2004
Posts: 4



(Msg. 1) Posted: Fri Dec 03, 2004 4:35 pm
Post subject: mod_bandwidth, not working on PHP files
Archived from groups: alt>apache>configuration (more info?)

Hello group.

I have tried to use "mod_bandwidth" to Limit my upload-stream. It works
fine on all other files than .php.

I cant really figure out why, and cant really find anything in the manual.

I am using Linux Debian (testing release) with Apache 1.3.

In my httpd.conf i have added:



LoadModule bandwidth_module /usr/lib/apache/1.3/mod_bandwidth.so
BandWidthModule On

<Directory /home/web/www>
BandWdith all 3072
</Directory>



Can anyone point me in the direction of a solution to this?


Regards
Kasper

 >> Stay informed about: mod_bandwidth, not working on PHP files 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Fri Dec 03, 2004 5:35 pm
Post subject: Re: mod_bandwidth, not working on PHP files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Kasper Johansen" <kasper.DeleteThis@johansen.tdcadsl.dk> schreef in bericht
news:41b0c935$0$229$edfadb0f@dread12.news.tele.dk...
 > I have tried to use "mod_bandwidth" to Limit my upload-stream. It works
 > fine on all other files than .php.
As CGI script or via mod_php?

 > I cant really figure out why, and cant really find anything in the manual.
Are the PHP files phisically below <Directory /home/web/www>?
If not try a second <Directory ...> for that path.

mod_bandwidth is first in the list of modules -or at least before mod_php-?
Move it to the top anyway si advised by documentation.

 > I am using Linux Debian (testing release) with Apache 1.3.
 > In my httpd.conf i have added:
 > LoadModule bandwidth_module /usr/lib/apache/1.3/mod_bandwidth.so
 > BandWidthModule On
 >
 > <Directory /home/web/www>
 > BandWdith all 3072
 > </Directory>
Hopefully, not just a typo ... BandW_i_d_th

HansH<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: mod_bandwidth, not working on PHP files 
Back to top
Login to vote
kasper1

External


Since: Dec 03, 2004
Posts: 4



(Msg. 3) Posted: Sat Dec 04, 2004 7:35 am
Post subject: Re: mod_bandwidth, not working on PHP files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HansH wrote:

 > As CGI script or via mod_php?

As a loaded module in apahce?


 > Are the PHP files phisically below <Directory /home/web/www>?
 > If not try a second <Directory ...> for that path.

The PHP-files are placed in the /home/web/www. The images (which is
placed the same place) is getting limited bandwidth, but no the .php-files.

 > mod_bandwidth is first in the list of modules -or at least before mod_php-?
 > Move it to the top anyway si advised by documentation.
Done that, same problem.

 > Hopefully, not just a typo ... BandW_i_d_th

Yes Smile

Regards
Kasper<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: mod_bandwidth, not working on PHP files 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Can't Get it working Right - I've made several attempts to install Apache, but could never get it to work right. I actually had it running priorly on an install of ColdFusion 4.0 but installed a new HDD. When I was re-installing image to new HDD got a virus or hacker attack, last....

SSI not working - Hello, I have a client who's web designer insists on using SSI includes. I have the server configured to allow SSI, but it seems not to work, no matter what I do. The include looks like this : <!--#include virtual="header.html" --> ...

PHP Working??? - I just set up apache 2.0.48 and PHP 4.3.4 and thought it was working well. I can pull up pages with .php extensions and some parts of the code work such as date functions and includes (pretty much all I've tested so far) but when I try to use variables..

Need help getting SSL working - I configured Apache 2.0 with RH9. Apache serves up unencrypted pages just fine. I then change my httpd.conf file to listen on port 443 as illustrated below: Listen 192.168.1.101:443 When I try to restart Apache, I get the following error: (98)Address..

php is not working... help please!! - Hi Group!! I've been trying to set up the PHP on apache 2.0.52 and it's not working. Server it is, but PHP is not. These are the modifications I made to the httpd.conf oriented to get php working. ..
   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 ]