Berkeley CSUA MOTD:Entry 39699
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/07 [General] UID:1000 Activity:popular
4/7     

2005/9/15-17 [Computer/SW/WWW/Server] UID:39699 Activity:nil
9/15    What's the best method for limiting the amount of bandwidth
        used by a particular directory (podcast mp3s) on a vhost
        with Apache2 on Linux?
        \_ http://www.ivn.cl/apache
2025/04/07 [General] UID:1000 Activity:popular
4/7     

You may also be interested in these entries...
2010/4/22-5/10 [Computer/SW/Languages/Misc] UID:53797 Activity:nil
4/22    In Linux is there an easy way to rename the scripts in /etc/rc?.d ?
        For example I want to set all the /etc/rc?.d/S91apache to S100apache
        so that it'll run the ramdisk BEFORE going to apache.
        \_ Sure, just move them.
           \_ I mean is there a script that will rename all of them
              for me? Like: setrc apache2 0 0 1 1 1 1
	...
2009/5/7-14 [Computer/SW/WWW/Server] UID:52963 Activity:nil
5/7     I am trying to reproduce a customer bug where their apache header
        has the content-encoding as the last line in the header.
        My test platform is running apache2.2 on ubuntu. Is there a way
        to do this ?i I have already read the apache 2.0 docs and
        I dont see anything obvious ? page is txt/html
	...
2007/3/15 [Computer/SW/Unix] UID:45975 Activity:nil
3/14    Dear NFS gurus. I have a huge problem that I think may be related
        to NFS. I have root on my machine and my /home/joe is mounted on NFS.
        According to /etc/mtab it is mounted with "nw,nosuid,rize=8192,
        wsize=8192,intr,bg". I am trying to setup suexec on apache2, but
        for some reason it just wouldn't work when suexec is enabled. I'm
        guessing the "nosuid" in nfs is interfering. I tried taking nosuid
	...
2006/4/6-7 [Computer/SW/Security, Computer/SW/Unix] UID:42704 Activity:nil
4/5     Problem: sshd acting weird. Platform: Linux 2.6.x. Symptoms: Ssh
        \_ I thought Soda ran FreeBSD
        connection got stuck all of a sudden. Cannot ssh into the machine.
        Ping ok, and apache2 apparently working. Console log-in takes +5 min &
        nothing weird in /var/log/*.log. Restarted sshd a few times, no luck.
        Restarted the machine, everything's normal. Two hours later, sshd
	...
2006/4/6 [Computer/SW/Security] UID:42696 Activity:high
4/5     Problem: sshd acting weird. Platform: Linux 2.6.x. Symptoms: Ssh
        connection got stuck all of a sudden. Cannot ssh into the machine.
        Ping ok, and apache2 apparently working. Console log-in takes +5 min &
        nothing weird in /var/log/*.log. Restarted sshd a few times, no luck.
        Restarted the machine, everything's normal. Two hours later, sshd
        is weird again. Same symptoms. What are some possible culprits?
	...
2006/4/4 [Computer/SW/Languages/Web] UID:42662 Activity:kinda low
4/4     Help PHP MySQL experts! I installed PHP5 and Pear and tried
        /usr/bin/php mytest.php. It works, except it doesn't know where
        to find mysql_connect(...). How do you tell the command line
        how to invoke mysql commands? Thanks.
        \_ I'm the op and I did install mysql and it works under apache2. I
           figured out my problem. There are two files,
	...
2006/2/28-3/1 [Computer/SW/WWW/Server] UID:42026 Activity:nil
2/27    What apache2 directive should I use if I want apache to
        execute .cgi files that are symbolic links? Thanks.
        \_ http://httpd.apache.org/docs/2.2
           Look at the Options directive. -dans
	...
2006/2/28-3/1 [Computer/SW/OS/FreeBSD, Academia/Berkeley/CSUA/Motd] UID:42029 Activity:low
2/28    It switched again.  Lines from old and new motds:
        < FreeBSD 5.3-RELEASE (MKVII) #0: Fri Dec 17 17:40:05 UTC 2004
        ---
        > FreeBSD 5.3-RELEASE (SODA-MINIMAL) #0: Fri Dec 17 17:40:05 UTC 2004
        Although uname says we're still on soda-minimal.
        \_ I think there was a power failure.  Blame god.
	...
2006/2/1-3 [Computer/SW/WWW/Server] UID:41660 Activity:nil
2/1     In apache2 how do I make certain directories execute as certain
        user? Say I have the following and I want
        http://mydomain.com/bobby to execute as user 'bob':
        UserDir public_html
        <Directory /home/*/public_html>
          AllowOverride FileInfo AuthConfig Limit
	...
2006/1/27-29 [Computer/SW/Languages/Web] UID:41573 Activity:nil
1/27    I've enabled suexec and ExecCGI in my apache2. I created a simple
        CGI that when `whoami` is executed, claims as me instead of
        www-data|http. Great. However, when I tried the same thing in
        php, it no longer executes as me. Why is that?
        \_ mod_php 'executed' stuff is run as the webserver uid
        \_ You'd have to run PHP under CGI to get this to work, and then it
	...
2005/12/10-12 [Computer/SW/OS/Windows] UID:40957 Activity:moderate
12/10   Anyone here use Buzilla for work?  On Windows?  How's your experience
        been?  We're using an old version of DevTrack and would like to change
        to something else.
        \_ Bugzilla? Yes. What do you mean "On Windows"? You mean you want
           to run on IIS?
           \_ No, we're already running svn on apache2 for Windows (so it would
	...
Cache (505 bytes)
www.ivn.cl/apache -> www.ivn.cl/apache/
Download PURPOSE * Restrict the number of simultaneous connections per vhost/dir * Limit the bandwidth for files on vhost/dir HISTORY - Stable revision for v06 Look at the Readme for more details. who wrote it for Apache13 This is the work of a day and a half. Also note, that the MaxVhostClients must be after the ServerName directive. So if you have troubles with some virtualhost, try loading this module first. This module has been tested a lot on an ISP's webserver, with thousands o f virtual hosts.