I setup mail piping with Exim so that e-mails sent to a specific account be forwarded to my PHP script. It's not working properly, because when I send a mail to this account, it's bounced by the mailer daemon:
Code: This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
pipe to |/home/user/public_html/support/parse.php generated by support@mydomain.com local delivery failed In my /etc/valiases/domain.com file I have:
My customer has an external facing Apache server that is acting as a reverse proxy to two internal applications. They have:
- external addresses for each app which resolve to different ip addresses, so app1.their_domain.com and app2.their_domain.com resolve to 77.3.170.10 and 77.3.170.11 respectively. - the Apache server has two network interfaces with ip addresses 192.168.10.10 and 192.168.10.11 - the external ip addresses resolve to the above internal addresses - the firewall between the Apache server and the internal app servers is configured to allow traffic from 192.168.10.10 to reach app_server1, and traffic from 192.168.10.11 to reach app_server2, both using port 7777.
I have configured a virtual host in httpd.conf for each ip, i.e.
This works fine in that the external address are being routed to the correct application, however the firewall is blocking requests to the second app as it appears the requests are coming from the Apache servers 'primary' ip address 192.168.10.10 instead of 192.168.10.11.
Is it possible to send requests using the ip address from the relevant VirtualHost?
I want to redirect a website to a particular URL so that the address bar shows the same URL and not the destination URL. I know it is possible via URL masking, however, I want it in such a way that whenever somebody clicks on any link in the website, the address bar should still show the original URL. To put it in simple words, Suppose I want to redirect [url] to [url]. Now if there is a link named contact/index.htm and somebody clicks on it the address bar should display [url]and not redirect to [url]
How can it be possible using URL Rewrite method in .htaccess file?
- I can't access the webserver - I'll try to restart httpd, and I'll get
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:443
To fix this, I run
[root@www1 ~]# lsof -i tcp:443 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME perl 11307 apache 4u IPv6 476943447 TCP *:https (LISTEN)
There is always leftover process that is causing the restart to fail. Once i force kill the process, I am able to restart httpd properly.
Now it is ok if this just occurs once in a while, but this problem keeps repeating itself almost everyday at 4am server time (cron time?). What can I do to permanently fix this?
Im looking for a good IP address locator, I have already tryed a couplde such as Visula Route, but it just plain sucks. Im also looking for a good program to monitor packets. any sugestions?
I've added 8 IP's to my WHM, and I am slightly confused...
I moved one domain to the new IP address and it worked fine after 15 minutes. I then moved another to a new IP address and it did not work after waiting over 30 minutes. The only difference between the two accounts is one account has 2 domains attached to it and one has about 15 domains attached to it.
If I just were to leave it sitting and wait would it switch to the new IP?
I would have no problem with waiting except for the fact that it resolves to the "cPanel/WHM is now installed" screen, rather then the website.
thinking about adding web hosting to my reseller account. Can anyone tell me the difference between an IP address and a domain. If they are different who actually owns the domain and who owns the IP address?
i keep going down the list trying to figure out why im having so much trouble and then i noticed....
from a remote computer, every once in a while (every other day) when i type in my servers static ip i get all this information about my server and a page with stats and mac adresses. when i add the directory of my main website on the end of the adress i get a unique "pge under construction" page.
but then other times i just get absolutely nothing, generic "page not found". i kept messing with my name servers and godaddy trying to get this right but if i cant even access the server through the ip what could be happening?
when I ordered new server , I ordered 12 IP's with it and then installed HyperVM on my server and tried creating a VM and I enter the secondl IP address assigned by datacenter to me and I see : Ip already in use , I rang up Datacenter I think they removed the IP's from my main server so that can be added in HyperVM , I added and I was able to make VPS now
and when I made VPS I assigned the ip to it say : xx.xx.xx.8 and selected 2 in Number Of Ips(from Pool) and according to that the next two IP's should be xx.xx.xx.9 and xx.xx.xx.10 correct? , I add them in new cPanel VPS and then I go to cPanel Basic Setup and assign xx.xx.xx.8 to my ns1... and xx.xx.xx.9 to my ns2 (Nameserver) and add those IP in namecheap to register nameservers and damn it doesnt work more than 24 hrs passed away not working yet
I have domain, let say it is www.mydom.com which is hosted at one IP. I would like to create subdomain www1.mydom.com and host it on another server with different IP address.
we change the name of one our directory on our host, we have some file on this directory and some website linked to this files. now how can redirect all address to new address?
for example our old address is: [url] now this file located on: [url]
i have been receiving email logs stating that i have massive amounts of traffic being directed at my web server. these logs come in intervals of 1 minute (due to my settings) and they have between 150 - 300 connections each time. strange thing is, these attacks never have an ip, so nothing is blocked.
heres a sample of a log:
Banned the following ip addresses on Fri Mar 7 18:09:03 SGT 2008
170 with 170 connections
and another:
Banned the following ip addresses on Fri Mar 7 18:07:01 SGT 2008
171 with 171 connections
i'm quite sick of my server being put under such heavy stress. btw, this isnt brute forcing just to make sure right? its just heavy access on port 80?
I am using csf to secure my server. I want to open the ssh port for certain ip only. So I edit csf.allow and add the following line:
tcp:in:d=22=192.168.0.100
Then restarted.
But I can still access the server from IP addresses other than 192.168.0.100. Anyone know how can I restruct certain IP address to access certain port?