RE: [expert] apache and imap configuration
Your system is probably already set up to do this, but with the public_html directory. Look for the UserDir directive in your httpd.conf file, and modify it according to your needs. Don't forget to restart Apache after you've made your changes. # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is recieved. UserDir public_html ^^^Change this to .www Tim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Timothy Litwiller > Sent: February 8, 2000 8:51 AM > To: expert > Subject: [expert] apache and imap configuration > > > How do I change the configuration so that users can post web pages? > > for example I would like to put a .www directory in each users directory > > /home/user/.www > > How do I make apache see these directories, do I have to add each one to > the httpd.conf files or is there some way that it will work > automatically. > > My ISP does something like this but doesn't seem to want to answer > questions about how to setup something similar. to get to a users web > page on my isp we have a url like this. www.myisp.com/~user and when > ftping files in we have to make sure they get in the .www directory for > them to be seen. > > Any suggestions are welcome. > Thanks. > >
RE: [expert] IP ranges
To accomplish want you want to do, you need to subnet the 192.168.0.0 address space. Unfortunately, one cannot simply choose ranges at "random" but rather is bound to follow the rules of binary math. You might try this to get close to the ranges you would like: Create a subnet with 2 networks - this will give you 64 hosts on each network, with addresses in the range 192.168.0.64 - 192.168.0.127 and 192.168.0.128 - 192.168.0.191 You would set this up as such: 192.168.0.64/255.255.255.192 (/26) 192.168.0.128/255.255.255.192 (/26) This means that you would also have to change the subnet masks of each of your client machines. It is also possible to get closer to the original ranges you mentioned, but that would require even more subnets. Tim Howell > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Michael D. > Kirkpatrick > Sent: January 7, 2000 1:50 PM > To: [EMAIL PROTECTED] > Subject: [expert] IP ranges > > > I am using squid and I have found that I am doing something wrong with > assigning > IP ranges. All the examples show complete class C ranges. Example: > 192.168.0.0 - 192.168.0.255 would be entered as one of the following: > 192.168.0.0/24 or > 192.168.0.0/255.255.255.0 > > Now, I just want IP ranges of > 192.168.0.0 - 192.168.0.99 > 192.168.0.111 - 192.168.0.255 > > I tried the following: > 192.168.0.0/192.168.0.99 > 192.168.0.111/192.168.0.255 > > That does not work... Any suggestions? >
Re: [expert] FTP port range
> check /etc/services > ftp-data20/tcp > ftp 21/tcp What about the upper port ranges it can use (ie when the PORT command is issued)? Active ftp doesn't work at all behind my firewall, and only works from the firewall itself now that I've opened up ports 1024 - 65000. Tim
[expert] FTP port range
Hi, I'm setting up a firewall on my mandrake 6.1 box, and am trying to lock down as many ports as possible. Does anybody know what range of ports *active* ftp connections use? Thanks, Tim
[expert] Sendmail & Mailing Lists
Hi, I am trying to get a simple mailing list program (minimalist) installed on my 6.1 system. The program's documentation illustrates a technique to discover the EUID/EGID of my MTA program (sendmail) in order to get proper permissions set on some of the program's files. However, when I follow the instructions (it involves setting up an alias that creates a file on my system), I get the following error: sh: tee not available for sendmail programs 554 "|tee /tmp/mtaid.tst"... Service unavailable I once tried setting up BeroList, and received a very similar error message. I checked the permissions on tee, and they're 755, ownership root.root Please help! Tim
Re: [expert] RPMs and New Kernels
Hi Adam, You'll need to modify /etc/lilo.conf to point to the new kernel. THe line you'll need to modify will look something like this: image=/boot/vmlinuz-2.2.5-15mdk In this case, change 2.2.5-15mdk to 2.2.13-22mdk. If you have a SCSI based system, you'll also need to modify the initrd line, as well as create a new initrd file with "mkinitrd /boot/[initrd file name] 2.2.13-22mdk" Then run lilo - if it doesn't report any errors, you're ready to go! Tim > I recently used MandrakeUpdate to update my kernel to 2.2.13-22. > > I haven't rebooted my computer yet, but I wanted to make sure I have > everything done so there won't be any problems when I do. > > Is there anything else I must do to insure that the kernel was updated > correctly?
Re: [expert] FTPd configuration
Hi Derek, The FTP server should already be configured to do this...at least it was for me. I think to add support for this if it doesn't exist would require that you add something like to following to /etc/ftpaccess: class all real,guest,anonymous * The key here being "real" Tim > All, > Can somebody give me the quick-and-dirty answer to configuring the > FTP server to allow per-user logins? So I can log in as my normal user > account and access my home directory...? > > I'm used to Redhat where it comes pre-configured that way. > > Thanks, > Derek
Re: [expert] A script to discover IP?
Thanks for your help, Ramon. I now have a script that emails me only the assigned IP address - took a while to get the parsing right! A couple more questions, if you don't mind: 1. Is there a way to pipe the contents of a file into the subject line when using the "mail" command? I would like the designated IP address to show up as the subject, if possible. 2. I am using "pump" to retrieve my DHCP info, and am doing so on the @HOME network. I have read documentation stating that pump will contact the DHCP server every 3 hours to try to renew the lease - any idea where this gets called from? I would like the script to run every time the lease is renewed. Thanks again for your help, and any more you (or anyone else!) can provide. Tim
[expert] A script to discover IP?
Hi, Just wondering if anyone more familiar with shell programming than I had any ideas how to write a script that would take a client's IP address (as assigned by a DHCP server) and email to a user? I have recently configured my system as a DHCP client, and would like such a script, to avoid having to log on to my firewall machine and run ifconfig. Any ideas? TIA Tim
RE: [expert] My default gateway has disappeared!
Sorry, I should have been more specific. I have been using linuxconf to set the default gateway (and have verified its existence in /etc/sysconfig/network) - my problem is that it not being added to the routing table. I seem to have to do that manually. Any ideas? Thanks, Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John Aldrich Sent: November 11, 1999 6:32 PM To: [EMAIL PROTECTED] Subject: Re: [expert] My default gateway has disappeared! On Thu, 11 Nov 1999, you wrote: > Hi, > > I have had to change my IP and default gateway on my machine, and now my > default gateway has dissapeared! I have had to put a "route add" command > in rc.local to keep it in place when the system restarts. What would > normally set the default gateway? > NETCONFIG??? John
[expert] My default gateway has disappeared!
Hi, I have had to change my IP and default gateway on my machine, and now my default gateway has dissapeared! I have had to put a "route add" command in rc.local to keep it in place when the system restarts. What would normally set the default gateway? TIA Tim
[expert] Samba strangeness
Hi, My machine has recently gone insane, and now samba is behaving strangely. When I boot the system, it fails to start NMB services (SMB services are ok) - so, I once the system is up , I try to manually start samba (/etc/rc.d/init.d/smb start) and both SMB and NMB start successfully. Why would this be occurring, and what can I do to ensure NMB starts upon boot? I have uninstalled and re-installed samaba. TIA TIm
[expert] Trouble with SparQ drive
Hi, I'm not sure if my previous posting made it to the list, so here it is again. If this is a repeat, my apologies. I have recently had to move my SparQ drive to another machine, and now when I issue the command "modprobe pd" (after having issued "modprobe paride" then "modprobe epat"), I receive the following error message: /lib/modules/2.2.5-15/misc/pd.o: init_module: Device or resource busy What does this mean, and how do I fix it? TIA, Tim
Re: [expert] fix for missing pixmaps in KFM
I ran into a similar problem when installing WebMaker under Mandrake6.0...in previous versions, all shared pixmaps etc. were located in the /opt/share directory structure. Now everything is in /usr/share. I "solved" my problem by copying /opt/share to /usr/share - maybe that's what's needed here? Tim > > (I did an upgrade from RedHat 5.2 to Mandrake 6.0 - and I suppose those two > distributions decide to put the files somewhere else?) > >
Re: [expert] Dynamic DNS (slightly off topic)
Hi Stephen, I use dhs.org myself, and have never had any problems with it (I have more problems with my ISP). dhs.org provides dynamic IP mapping free of charge, allows you to setup multiple hosts and provides wildcard matching as well (eg ftp.yourdomain.dhs.org, www.yourdomain.dhs.org). You can check it out at http://www.dhs.org Tim Howell On Sun, 10 Oct 1999, Stephen Carville wrote: > Now that I have a static IP address and DSL, I would like to set up > with one of those dynamic DNS services. My ISP doesn't care much what > services I run from my home (as long as I pay my bill :-) and an > accessible domain name is really necessary for the experimenting I > want to do. Does anyone here have any experiencre with the various > providers of this service? Maybe provide a reference (cost, > reliability, etc)? > > -- > Stephen Carville > [EMAIL PROTECTED] > > There are two kinds of people: those who do the work and those > who take the credit. Try to be in the first group; there is less > competition there. > Indira Gandhi >
Re: [expert] Password on entering a webpage using Apage Server
Hey Patrick, You can use .htaccess files to protect the areas of the site you don't want the world at large to see. Check out how this can be done at builder.com: http://www.builder.com/Authoring/Stupid/ss01.html Tim On Thu, 7 Oct 1999, Patrick Putteman wrote: > Hello All, > > Got another question: > > I use my linuxbox at the office for monitoring and accounting of the bandwith/uptime >of our servers, with automatic generation of HTML pages (mrtg and netsaint are 2 of >the apps I use). Of course, this info is kind of confidential and therefor I would >like to have to enter a password upon entering the confidential parts of the server. > How do I configure Apache so that it asks a password upon browsing to certain >files/dirs? > I had a look at the apache docs, but they're not entirely clear on this. > > Thx, > > Patrick Putteman > Internet Support Manager > Net7 - Member of the Advalvas Group >
Re: [expert] window views?
David, If you are using KFM, then you can simply choose "Save Settings" from the options menu. Tim On Wed, 6 Oct 1999, R. David Whitlock wrote: > OK, I'm a little embarrased, but I'd really like to know if anyone has > some way to do this that I'm just missing or what: > > When I open the view of files I have in /opt, I always change the view to > long, because by default KDE shows all files as the larger icons. While > this is a fine default, I hate changing the view setting _every_ time I > close and re-open the window. In Win98 (blasphemy, I know) it is possible > for windows to "remember" the last settings for view, so that it opens the > way that it closed last time. > > Is there some way to do this in KDE, and if not, shouldn't there be? > > Later, > David > > "Without the Law, there is no Liberty. Without Justice, there is no Law." > >
Re: [expert] where to get KICQ?
You can download an RPM for KICQ from www.linuxberg.com Tim On Tue, 5 Oct 1999, Ricardo Kleemann wrote: > Hi guys, > > I'm trying to find ICQ for linux and the ICQ homepage doesn't seem to give > linux any space whatsoever. > > I've heard there is KICQ, maybe others. Anywhere know of an RPM around? > > Thanks > Ricardo > > > > > - > This message sent using EMUmail -- http://www.emumail.com > - > > Attention PDA Users: Get your existing email from your Palm VII > with HoboMail.com. You're free to roam with HoboMail. > > http://www.hobomail.com > >