Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: redsevens
  • Content: Threads
  • Order by date
  1. redsevens

    converting server to backup server

    My company has recently decided to switch to (groan) an Exchange server + Outlook. Prior to the switch all mail was handled by sendmail (8.9.3-20) on Linux, and now the Linux server (Milhouse) should act as a backup server. I would like to set it up so that when a message reaches Milhouse it...
  2. redsevens

    simple sed problem

    I am using sed in a script to edit several hundred files. I want to basically do a search and replace, but the search uses wildcards. The replace is the same for each file. For example, most files contain the line Return_Address=zero or more characters and I want them all to be changed to...
  3. redsevens

    My AD server broke my cookies!

    Well, I think it is the Active Directory server's fault: My company just switched from an NT 4 Domain to a Win2K Active Directory. The server (named CSADS1) also is handling DNS internally now. The problem is, our intranet server (which is running Apache/PHP on Linux) is not able to set cookies...
  4. redsevens

    slightly confused about parameters

    Hello, I wrote a simple script that takes either two or three parameters, or '-h' or '--help' to show a friendly usage string. My test for this is as follows: if [[ ! -z $2 || $1 -eq "-h" || $1 -eq "--help" ]] It works correctly if I use two or three parameters or if the...
  5. redsevens

    grepping with variables for logfiles

    I'm trying to create a script that will assess how many entries per hour are in a log file (/var/log/maillog). The code I have is below: #!/bin/bash for monthname in "Jan" "Feb" "Mar" "Apr" ... "Dec" do for daynum in "01&quot...
  6. redsevens

    Simple scripting problem - convert `wc -l` to an int

    I'm trying to run a script that will do one of two things, depending on whether or not a directory is empty. The script so far is as follows: #!/bin/bash num_sii=`ls /home/sii/incoming/ | wc -l`; if [$num_sii -eq 0] then echo "There aren't any new files.\n" else echo...
  7. redsevens

    key bindings - windows key needs some functionality

    I am almost positive that this is a problem that can be solved with one or two lines in some configuration file. Is there a way to map the "Windows" key on my keyboard to the Gnome menu? Does anybody know of a good site that references fun key mappings like that? (It would be really...
  8. redsevens

    remote X sessions?

    I think I'm close but not close enough to get it to work... I am trying to launch an app on my computer (running Linux of course) from another machine on the network. I connect to that machine with telnet and type the command name (xeyes for testing) and I get the following three lines: Xlib...
  9. redsevens

    Best way to add SSL?

    Hello, My boss told a client yesterday that we have a secure web site and can accept American Express (before asking me if we could do it, of course), so now I need to get something up and running. I did a quick check at the Apache site for SSL (I'm running Apache on a linux box) and it looks...
  10. redsevens

    how to allow relaying?

    I am a webmaster/email administrator for a small company and we have a few people working remotely who need to send email from my domain. However, I want to limit that as much as possible and I know there will only be three users from two domains (both roadrunner -- nycap.rr.com and hvc.rr.com)...
  11. redsevens

    HTML not showing correctly in Netscapes

    I think I have narrowed this problem down to Apache, but I am stuck. My web server seems to be doing everything correctly except when it comes to serving *.html pages to Netscape browsers. Any file that ends in .html does not get rendered; the source is shown as plain text in Netscape. When I...
  12. redsevens

    "Content-Type" showing up at top of page

    I am having trouble with a perl script that is running into segmentation faults (it is from a third party vendor) and their "support" pointed out that my Apache server is apparently sending header information, because their script shows "Content-Type: text/html" at the top of...
  13. redsevens

    POP3 Users timing out

    Hello, I'm running sendmail on a Linux server at my company. Everything is set up so that it works correctly, but now that we are getting more and more e-mail accounts users are timing out when they attempt to connect. I am assuming that the server is just overloaded (25,000 hits/day, most of...
  14. redsevens

    ASP vs. PHP?

    I'm currently working a lot with PHP, but I've been asked a few times if I could do work with ASP. Could anybody with experience in both give me a quick run-down of similarities and differences? My limited exposure to ASP code leads me to believe it isn't much different, in terms of how you...
  15. redsevens

    rpc hack attempts?

    I think somebody may be trying to do bad things to my server! I don't understand how RPC works, so maybe this is way off base and I'm being paranoid, but I thought I'd present it to the masses... I am occasionally getting messages in /var/log/messages that read: Feb 2 11:59:13 milhouse...
  16. redsevens

    Very odd messages in /var/log/messages

    Does anybody know what this means? My message log (/var/log/messages) stopped logging files last week. I found out and was able to simply run syslogd (it wasn't listed when I did a ps -aux) and get it running again. However, after running it, I noticed that every 20 minutes after that, there was...
  17. redsevens

    Creating a symbolic link

    Hopefully this is a very easy question... All I need to do is create a symbolic link in my home folder (/home/joe) to my intranet site folder (/home/intranet/html). At least I think it's a symbolic link, the bottom line is when I ftp in, I want to be able to type cd intranet from /home/joe and...
  18. redsevens

    htaccess to allow from IP, otherwise get login and pass?

    I'd like to grant access based on one of two conditions: User is from domain w.x.y.* or w.x.z.* if not, use basic authentication to grant access. I have the authentication set up like this (in .htaccess): AuthType Basic AuthName Intranet AuthUserFile /path/to/userfile AuthGroupFile /dev/null...
  19. redsevens

    virtual hosts and DNS lookups

    I'd like to set up virtual hosting on my Linux box to allow to completely different domains, such as www.domain.com and www.otherdomain.com. Can I do this on the same IP? How about www.domain.com and other.domain.com? Do both solutions require adding a CNAME record?
  20. redsevens

    message of the day

    Hello all, just curious about something...<br>I found the magic /etc/motd file (message of the day - displays when you log on from a console, and was wondering how to make that file rotate through a bunch of messages (maybe even randomly)? Probably a job for cron, and I'll write a script if I...

Part and Inventory Search

Back
Top