I'm using the isapi rewrite module for iis 6 which uses the exact same syntax as mod_rewrite in apache. I'm not very well versed in apache and need getting this to work asap. Basically I have a directory in our website: URL....
I need to forward this to an IP address, for example to this address:100.12.33.45/folder.While keeping the original URL (www.xyz.edu/folder). I'm unsure of the apache syntax for this.
I was trying to generate ssh key for my server and get this message below
Code: [andyj@server ~]$ ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/home/andyj/.ssh/id_dsa): [Enter] Enter passphrase (empty for no passphrase): [Enter] Enter same passphrase again: [Enter] open /home/andyj/.ssh/id_dsa failed: Permission denied. Saving the key failed: /home/andyj/.ssh/id_dsa. andyj: this is my username for my domain which is hosted in that server.
How do i allow 'andyj' user to have permission to do this? Note, I can do this with 'root' just fine. I'm using CentOS 5.
Just wondering if you guys had any resolutions to this. We are looking to save space on our rsync backups.
I know you can use the --compress, or -z and it compresses data on the fly to save bandwidth but is there anyway to keep the data compressed so it takes up less space once it is on the server and still make it so it only copies over the file changes?
If not, anyone have any suggestions on how to save space with rsync backups?
Is there a way to use a Web browser to open a file at [url], make changes to the file and save it back on the Web site? I am trying to do this but have only been able to save the file locally. The file only opens in [Read Only] (Compatibility Mode).
Just colocated at HE.NET and the the 15 amp limitation is a challenge. I'm just wondering what tricks there are to reduce power consumption by computer. Maybe people can add their tricks to this thread.
I'm experimenting at home right now. I got one of those KILL-A-WATT meters. (Egghead $18 - they are GREAT) And I'm measuring power usage with different configurations.
One thing I noticed is that the bios "cool and quiet" setting make a big difference. At idle current drops from 0.90 amps to 0.67. Of course if the processor is running 100% this probably goes away but if you have a cabinet of server and not all of them are maxed out all the time this should add up.
I'm using OpenVZ virtualization which allows my to use hardware more efficiently.
Just wondering if any of you have other tricks that cut electrical usage. Might have to put quad core processors in all my servers for expansion. Wish AMD would get their act together and get high speed quads out there.
I have Cpanel VPS account, and have been regularly backing up all my outgoing emails (via SMTP, imap or webmail) with the following:
Added to following lines in /etc/antivirus.exim
Code: if first_delivery and ("$h_from:" contains "username@domain.com") then unseen deliver "backup@anotherdomain.com" endif So, this worked well for the longest time. At some point it 'disappeared' and stopped working which I guess was due to some update, and putting it back it got it working again.
Recently, I had a new vps, moved my domain there and dropped the same bit in, but this time around, it didn't work.
Is it possible that antivirus.exim isn't being parsed? How do I check? Or is there somewhere else I can stick it into so it'll always work and not get replaced by some cpanel update?
I'm using mod_proxy_balancer in Apache 2.2.29 with OpenSSL on Windows to distribute HTTPS requests to two other back end servers, both of which are also Apache 2.2.29 with OpenSSL on Windows.
DumpIO shows that the requests are being decrypted on the balancer, and then sent unencrypted to the two workers. I would like to have the requests pass through the balancer without decrypting there, and let the two back end worker servers do the decryption. Is that possible? If so, how?
When I tried simply disabling SSL on the balancer, the requests fail, with nothing logged at all.
I want to change SOA Settings from defaults to these: When I press OK button shows that is saved but when I test with [URL] .... and [URL] .... shows that settings still is defaults.How to change these settings??
I am having a very strange problem with 2 different cPanel accounts on a server with 500-600 accounts. For some reason after a day or two the mysql username/password stops working. We have tried changing the MySQL user and the password with no success. The log does not indicate that the MySQL password was changed in any way. Only these 2 accounts are affected and this problem occurred at least half dozen times each.
Again: these are two different accounts with 2 different MySQL users that after a while stop working (I am unable to determine if they stop working at the same time b/c they belong to different customers). When we reset the user (with the same pass) it works for a day or two. I have checked to connect not only from PHP but also from shell when it's down: it also doesn't work so this is a pure MySQL problem.
I am trying to setup a pass through on our apache proxy server, typically this is not any trouble but our developers have started using a product call DEV EXPRESS and I cannot figure out how to get my pass through to work. Here's what my pass through looks like
ProxyPass /tmsdev http://tmsdev.dot.missouri/ ProxyPassReverse /tmsdev http://tmsdev.dot.missouri/ The initial url is http://tmsdev.dot.missouri/RealEstate/AAH/LitterPickup.aspx
I am getting 404 errors on everything that has /RealEstate/DXR.axd......... The DXR.axd is something from DEVEXPRESS here's the error I'm getting.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /RealEstate/DXR.axd was not found on this server.</p> <hr /> <address>IBM_HTTP_Server/6.0.2.35 Apache/2.0.47 (Win32) Server at ghweb04 Port 80</address> </body></html>
We have a Windows 2003 Enterprise server with 6GB of RAM and about 20 terminal services users logging in. These users then launch a program called Accuthin Thin Client giving them access to a piece of software called Southware that runs on a Centos 5 Linux server on the same network.
Problem seems to be that saving files to the network share causes windows to blue screen and crash. Has anyone ever heard of this before? I know it is a shot in the dark but we have been investigating this issue for 4 months, have replaced the Windows server 5 times, increased RAM to 8 GB and installed Enterprise edition clean but the issue follow no matter what we do.
Browse to www.mydomain.com/webmail and get login box > login accepted and taken to Horde/Squirrelmail choice screen > choose Squirrelmail and get login box ... login not accepted! > Retry and choose Horde ... login not accepted!
The login is correct and the results are the same when logging in as root, or through /cPanel or /Webmail.
i had access in some servers via SSH and when i try to connect i get:
Welcome to The HOST! login as: nickname -------------------------- We monitor/log everything on that server! IP Logged! -------------------------- nickname@host's password: .............
I know that there is the motd file in /etc that i can put a message but i see it when i full be recognized by the server.. (after putting the password).. How can i put the other 2 messages?