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

2004/6/8 [Computer/SW/WWW/Server] UID:30676 Activity:moderate
6/08    Does this look familiar to anyone?  From apache2 error_log:

        File does not exist: srv/www/tomcat/base/webapps/MYDIRindex.jsp

        no matter how many "/"s i put on <DEAD>www.myserver.com/////index.jsp<DEAD>
        it still gives me this.  What am i doing wrong?
        \_ isn't tomcat a stand-alone java application?  Why would it be in
           the apache2 error_log.  As for the ////////, do you really think a
           good webserver would let you go UP from the webroot, whether with
           / or .. (or encodings of both)
           \_ i'm using a connector (jk).  As for the other, i'm not trying
              to transverse a directory.  /// is treated just like "/" i'm
              just trying to make sure i get one in there.
        \_ Tomcat refusing to acknowledge the existence of a jsp or servlet
           is a very common problem and happens if any one of the 8 billion
           possible settings aren't exactly perfect.  This is covered
           extensively in numerous FAQs  (listing all of the possible causes
           is not in the purview of the motd)
2025/07/10 [General] UID:1000 Activity:popular
7/10    

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/7/8-16 [Computer/SW/OS/Linux, Computer/SW/Unix] UID:53124 Activity:nil
7/7     what happened to our web presence? http://www.csua.berkeley.edu
        not working
    \_ That would be because we've yet to set them up afaik. Steven *does* have
    a job after all. The idea is that we want a separate computer mounting the
    web directories, so that if an exploit compromises the webserver, the shell
    server (soda) itself will be insulated from the attack.
	...
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
	...
2009/5/5-6 [Computer/HW/Laptop] UID:52950 Activity:moderate
5/5     Is there a good (or standard) way to make an offline copy of a w
        ordpress blog (mine, not someone else's)? tia.
        \_ oh man.
           \_ I could cobble something together with curl / wget, but I'd
              rather not if there is a standard way of doing this.  I'm
              pretty new to wordpress / blogging and I just want to keep
	...
2007/11/27-30 [Computer/SW/Languages/C_Cplusplus, Computer/SW/OS/Solaris] UID:48701 Activity:high
11/27   I'm using select to do a nonblocking check to see if a single socket
        has anything to read off it.  Problem is, I can have up to 12228
        file descriptors, and Linux fd_set only supports up to 4096.  Any idea
        what I can do about this?  (Or a better solution?) -jrleek
        \- 1. who are you
           2. i am busy this week and you didnt mention language
	...
2007/4/30-5/4 [Computer/SW/Languages/C_Cplusplus, Computer/SW/WWW/Server] UID:46485 Activity:nil
4/30    Technical question:
        I have a threaded webserver, one thread waits around and calls
        accept, then pulls threads out of a thread pool to handle the
        requests.  I want to be able to shut down the webserver cleanly, so
        I have the main thread wait for a signal to shutdown.  It then
        joins on the accept thread while the accept thread cleans up the
	...
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.
	...