Apache :: Sending URL To Different Locations
Jun 5, 2015
I am relatively new to Apache and have a query. On an Apache 2.2 server I have built.
I have 2 urls coming in from 2 locations. I need to forward these urls on, one to a backend weblogic the other will be proxypass'ed on.
The problem I have is that the 2 URL's are identical incoming and outgoing so I am struggling to identify between them.
I have been able to manipulate one of the incoming URLs so it drops through the proxypass but when I rewrite it it then drops back into the proxypass.
How I can separate this traffic? I guess using virtualhosts would be ideal but are unfortunately not available for me. Restrictions on new IP addresses and ports. This is an example of the config.
View 1 Replies
ADVERTISEMENT
Nov 22, 2013
After a few years with apache 2.2 I decided to try apache 2.4 Both are running on windows 7. I had to recompile my modules against the new api, but that was succesful. I am now confronted that the rewrite rule for one of my locations :
View 11 Replies
View Related
Jun 27, 2008
I'd like to have the ability to offer hosting in two geographical and network diverse locations for both Apache and MySQL. Two entirely different instances, with different everything. ie: high avail to the max. Obviously the MySQL part is harder due to the dynamic nature.
I can appreciate the technical aspects of the question - such as data needing to replicate to 2 locations, dealing with static versus dynamic data, etc. In short, there's a few ways this could be done.
I've not been able to find a guide in my Google searches, but I'm sure this is something that has been setup before.
If you're someone with experience in having had set this up, perhaps it would be easiest if we just speak directly and work something out, either via payment or giving you a dedicated server on my network. My AIM name is IGSOBEHELPER.
Please note that I am hoping to start a technical discussion about this, hence I am not posting the message in the employment section. I hope this is not off topic because of this.
View 0 Replies
View Related
Aug 29, 2007
Yesterday my mail logs started showing many a spam email being sent from my server. There isn't anything mission critical running on it, so I took down qmail until I could find the vulnerability and fix it. But try as I might, I haven't found any conclusive vulnerability, so I thought to ask here where someone with more experience might spot something obvious that I've missed (I'm still somewhat new to this).
Anyway, the qmail logs show that the messages came from uid 48, apache. Log excerpt (sending of first spam mail):
Quote:
Aug 28 11:10:51 host qmail-queue[8056]: mail: all addreses are uncheckable - need to skip scanning (by deny mode)
Aug 28 11:10:51 host qmail-queue[8056]: scan: the message(drweb.tmp.TNDOi2) sent by anonymous@HOSTNAME to SPAMADDRESS should be passed without checks, because contains uncheckable addresses
Aug 28 11:10:51 host qmail: 1188295851.742521 new msg 51970054
Aug 28 11:10:51 host qmail: 1188295851.742679 info msg 51970054: bytes 445 from <anonymous@HOSTNAME> qp 8057 uid 48
Aug 28 11:10:51 host qmail: 1188295851.752799 starting delivery 460: msg 51970054 to remote SPAMADDRESS
Aug 28 11:10:51 host qmail: 1188295851.752933 status: local 0/10 remote 1/20
Unfortunately, my Apache logs have no entries around the time when these messages were sent. There are some suspect "CONNECT" requests scattered throughout the logs, but all are denied with 405's, and none correspond exactly with the time of the spam. Example (from about 3 hours after the spam):
Quote:
210.17.191.242 - - [28/Aug/2007:14:34:43 +0100] "CONNECT 205.158.62.146:25 HTTP/1.0" 405 235 "-" "-"
210.17.191.242 - - [28/Aug/2007:14:34:43 +0100] "PUT [url]
HTTP/1.0" 405 231 "-" "-"
210.17.191.242 - - [28/Aug/2007:14:34:43 +0100] "POST [url]
HTTP/1.0" 200 2 "-" "-"
(The fact that the final query wasn't denied worries me slightly though. Does anyone have any insight?)
I'm not sure where to go from here. I'm concerned about the lack of logs by Apache. There's a nine hour period without any entries; not unusual for my server given that its not very active, but the time when the spam was sent falls in this time period. I've checked for common security issues, but qmail is configured only to relay from localhost, and Apache isn't configured as an open proxy. Are there any other common issues I should check for? Is there any other information I should post here to help identify the problem?
I'm running Apache version 2.0.52, and qmail 1.03.
I'd be very grateful for any help or links to relevant HOWTOs.
View 6 Replies
View Related
May 1, 2014
I moved my sites to new linux server of mine (apache, mysql, php).
From that time i experienced some bigger websites hanging for like 2-3 seconds before they start loading. I mean when im browsing thru my website i click link, submit something and it waits saying in status field like "Waiting for mywebsite.com"
So i want to ask what apache, php etc values, what to check on server?
NOTE: my server is NOT overloaded (I am checking "top -c" stats) so don't suggest me to upgrade etc.
I have impression that it is waited until website elements are loaded and then webpage load very quickly after mentioned 2-3 seconds delay..
View 1 Replies
View Related
Jan 21, 2007
My group is thinking about building a dual xeon clovertown server that we will be using to hosting multiple gaming servers. We currently have a server at The Planet but would like to get away from that since their high performance servers cost $300+ /month.
With that being said I will need somewhere to get the box coloed and having trouble finding providers that don't charge an arm and a leg for hosting.
I have admins in Las Vegas NV, Huston TX, and Memphis TN so anyone of those places I can get good latency too would be ideal.
The best deal so far I have found was colo4dallas that would cost us $100/month for colo and give us 200gig of bw but I would really like the server to be located in one of the cities I listed above incase something broke and we needed to send someone in.
Can anyone recommend a colo provider in one of those locations?
View 1 Replies
View Related
May 27, 2007
Anyone have information on the following states for Colo?
Virginia
St. Louis
D.C.
Dallas
I'd like to get links to sites who offer these locations. I currently hold a deal with 1/2 Rack and 75.00 a meg with 5 carries. Trying to find different states to locate.
View 6 Replies
View Related
Apr 20, 2009
Few months back we migrated to a new server (Layered tech Savvis to Databank)
All has been running smoothly, better than before the move.
Over the last week we have had reports from a few clients in various locations across australia and a few in the uk that they can not access the server.
The DNS is resolving correctly for them and traceroutes have not proven anything.
Layered tech have not been real helpful, eventually they put me onto their network department who ran a global test which came back as the server being accessible from everywhere.
The problem appears to be intermittent
View 13 Replies
View Related
Jun 17, 2008
I was on this site a while ago and someone shared a link to a site that would ping a given IP from multiple locations around the globe and give the output. Does anyone know of a site that would do this?
View 2 Replies
View Related
Apr 17, 2008
I have a client who says his site is currently down. He can not get to any sites on my dedicated server.
However, I can get to all sites just fine and have not seen any downtime. My host tech support says the server is online and responsive and has closed my ticket.
Ping tests (at www.just-ping.com) show severe packet loss from almost all locations (see screen shot below)
How else can I test if my server is visible from multiple locations? Are there other tools/sites I can try?
View 13 Replies
View Related
Aug 22, 2008
www.dplwebmarketing.com
This hosting guys are telling that they offer 10 locations to host web sites. What i can understand is we may be able to select a Country to host.
Is it good to select a nearby country server to host our web site?
View 6 Replies
View Related
Feb 18, 2007
Is their anyway I can test the connection speeds to my site from different parts of the world?
View 3 Replies
View Related
Mar 23, 2007
Where are my server log files locations?
I need all log file locations for following services on my server (Servint dedicated VPS):
MySql
Http/Apache
FTP
NameServer/DNS
Security log files
What other log files are generated?
Are there any utilities (direct scripts) which helps to evaluate this log files regularly?
View 4 Replies
View Related
May 29, 2007
We are currently looking for a location in Frankfurt and Amsterdam. Has anyone had any experiences with data centers in these locations? We are looking for 1U of space and around 1000GB of monthly data transfer. We'd like to find a good balance of price and quality.
View 12 Replies
View Related
Mar 24, 2007
This week there was some one who asked me if he would have 100% uptime having his web site hosting in 2 different locations, with one server name pointing to a webhost, and the other server name pointing to a second web host.
For instance I want to host example.com on WebHostA and WebHostB
WebHostA's DNS are
ns1.webhosta.com
ns2.webhosta.com
WebHostB's DNS are
ns1.webhostb.com
ns2.webhostb.com
And he would set for instance for example.com:
ns1.webhostb.com
ns1.webhosta.com
He doesn't have a database, just a static page. For e-mail, he would configure 2 e-mail accounts in his email client, using the IP address of both web hosts to make sure he doesn't lose emails.
Wouldn't that work? He should have 100% uptime this way,
View 3 Replies
View Related
Jun 19, 2007
I migrated a client from a Windows server to Linux and everything is fine except that mail sent to this client (say, example1.com) from a particular domain (say, example2.com) simply disappears and does not reach at all. Mail sent to that other domain (example2.com) from my new client (example1.com) is delivered correctly.
Incidentally, that other domain (example2.com) from which the mail is sent is with the hosting provider who was earlier providing services for my newly acquired client. Should I suspect anything? Or, is there a way to figure out what's happening?
I have MailScanner running on my VPS, but it isn't configured to filter at RBL level, only at Exim level, so I don't think this is the issue.
View 1 Replies
View Related
Feb 10, 2009
I am starting up a mail order bride website.
I already have a server in Malaysia that I am using to run an asain based site. Off a .asia domain.
I am currently in Malaysia just now and I noticed especially on the weekends the networks seem to slow alot in Malaysia due to everyone playing games at the Cyber Cafes (its what they do instead of pubs).
While back in home the UK the Internet seems super fast all the time due to are advanced infrustructure.
Now should I use my server in Malaysia (ultra cheap prices) to host the site so or get a server in Europe preferably America?
The pros i see for Malaysia is the potential brides in asia will get quick access to the site.
The pros for Europe or America is the customer base will get quick access.
I might be wrong about this, maybe the speed wont; be affected to much either way, but I am a newb
Also if i was to have both a server in America and one in Asia could I link them together under that same site name? and how would that work with the database?
View 6 Replies
View Related
May 27, 2008
We have a VPS with Media Temple. Their data center is somewhere on the westcoast. From time to time we have severe issues to connect from our Brooklyn/NY locations. We experienced the connectivity issue from 2 physical locations. Doing a tracert gave us a good result.
There are usually 4-8 users using our shop admin for order processing or the shopping cart for manual order entry. While they are having problems connecting from there, I can connect just fine from Calgary/AB, Canada. Most of the time no issues at all.
how to debug that?
View 4 Replies
View Related
Jul 13, 2007
I was wondering about what software can be used in a client-server architecture to collect bandwidth usage at one server, from several nodes at dispersed server locations.
Let us say I have two servers in two datacenters, and I want to collect the bandwidth usage (actual and 95th percentile) in a third server.
I understand collectd can do this in a client server setup, but I don't think it does 95th percentile. So I was looking for what other setups I can make easily.
View 4 Replies
View Related
Dec 14, 2007
Does anyone know the default location for databases created through cpanel?
View 2 Replies
View Related
Nov 4, 2009
If anyone can help me in doing this, I'd appreciate it. I searched to see if anyone had already done this, but I didn't find anything so my apologies if this has been answered before.
Here's what I have: 1 dedicated server with a static ip of course and currently, I run all my sites off of this machine as well as my few clients. The server is running CentOS and Apache.
What I want to do is build a new server at my house/office and create a secondary webserver that mirrors my current setup. I've heard about using Rsync to do this, but I want to know if it'll allow for the balancing effect I'm looking for.
Rather than use this 2nd server as a backup only, I want also use it for dns resolution. Right now, all my sites are using two nameservers (NS1.2D.NET and NS2.2D.NET), but they both point to the same IP address at the same location. I want NS2.2D.NET to point to this 2nd server for redundancy (in case the other location goes down) and also for balancing (to spread traffic over two servers instead of just one).
Eventually what I'm going to do is move all my clients and websites to one location again, but my own location so I can save the expenses of dedicated hosting off-site. However, I want to use this setup as a test to see if my own location will be able to handle the traffic and such.
View 9 Replies
View Related
Apr 3, 2009
You know we done some great job on tweaking up WHMCS and also I think that we done some great job on setting up multi locations on WHMCS (almost 6
months hard work, almost hard…joke). Ok enough about us
So, actually we will show you some trick how to get coded WHMCS files work property for you.
You may think that it is another boring topic of how to or something, but unfortunately it’s not
I was looking for a lot of information of how to tweak up WHMCS and DirectAdmin together, but could find only bits and pieces of it…
In the mean time I would like to dedicate this topic to anyone who is currently seeking new web hosting services.
I had done one more post about how to get moving around hosting control panels, but still writing proper review about that confusing transfer process.
Choosing a web host for your business is one of the most important decisions you can make. If your site is down, your business is down. If you are
serious about your website and want to get solutions to your common hosting problems, this article will give you ten good reasons to choose for a global hosting company.
1.Hosting companies that work globally have different Data Centre to better service their customers. In case of a hardware failure, the system will automatically redirect traffic to the nearest Data Centre.
Don’t let server downtime and a slow connection cost you money!
2.Because of the different Data Centre, the backup systems are always secure. If a disaster strikes where your computer is located, your data remains safe in a remote location.
3.Global Hosting Companies work with a live support system. You can manage all aspects of your account 24 hours a day, 7 days a week. No time zones for services provided.
4.A support team is available 24/7 via phone and email to provide top-level support when you need it.
5.Because of the variety of customers from different continents, global hosting companies are able to offer flexible systems. They give prompt reaction time to customers’ needs and expectations.
6.Global hosting companies offer multiple compatible languages and language capabilities
7.Offering support of multiple database engines and both versions of PHP 4 and PHP 5 applications.
8.A support team routinely updates your server’s operating system and hardware with the newest updates, latest security patches and upgrades to ensure maximum security.
9.Global hosting companies have an experienced migration team to do all proper migration planning so that the transition can take place without a hitch.
10.Most global hosting companies have their own community website that allows customers to communicate and offer advice, and to share ideas and business solutions with each other.
Starting a business is difficult and picking the best out of thousands of web hosting companies out there is very crucial. Pick the right company to go with.
There are many companies providing great web hosting services so feel free to search for one that suits your needs.
Please review any additional information maybe I forgot to mention something…
Also I got some bad reviews of my first post in forum; even some people treated my post as a spam, but in some way information sharing in not
View 0 Replies
View Related
Jun 3, 2009
This is the qmail-send program at ultimatemedicalresearch.theplanet.host.
I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<abc@xyz.com>:
TLS connect failed: error:14077410SL routinesSL23_GET_SERVER_HELLOslv3 alert handshake failure; connected to <IP>.
I'm not going to try again; this message has been in the queue too long.
Executed the following commands as root on both servers (recipient and sender):
openssl s_client -connect [host]:993 returns OK both ways.
openssl s_client -connect [host]:995 returns OK both ways.
openssl s_client -connect [host]:465 very slow response. CONNECTED(00000003) appears then it waits for quite some time (>20s). Then it says: 30179:error:14077410SL routinesSL23_GET_SERVER_HELLOslv3 alert handshake failure23_clnt.c:578. This is shown only when I execute the command on server 1. Server 2 hangs also but returns the 220 message which is OK.
It is odd that the above commands return different certificates, not the ones that are set up on the servers. I am using Plesk, I have set up my certificates and assigned them to those IP addresses.
What could be done to make the mailing system between these two server to work ?
View 6 Replies
View Related
Jul 3, 2008
I have a problem with sending emails, previously could not send e-mails using port 25, but this is changing under the port 26. and now they are sent.
But probelma now is that when sending emails to gmail and hotmail arrive as SPAM. Yahoo definitely dont get
Similarly using webmail mail arrives as SPAM.
Someone knows how to fix this problem?
Or someone knows how to make the mail arrives well?
View 3 Replies
View Related
Sep 23, 2008
for a week now for some reason noone from my server can send emails or some going some times.i can receive correctly but i cant send.why might be the problem,what i must check.
View 6 Replies
View Related
Feb 13, 2007
someone is sending spam using my smtp on qmail. I have authentication on sending messages, but my host company is complaining about spam messages that are sending to numerous emails. is there any solution? or how to fix that...
View 3 Replies
View Related
Jan 22, 2007
I've managed to setup my cPanel box to allowed connections to port 995 for receiving POP email over an SSL connection.
However, I can't get sending to work.
My setup:
RHEL 4
cPanel 10.9.0 Stable
APF firewall
I allow outbound ports 25 and 26.
I'm not sure where to put them in APF to allow this.
Also - it won't work with the firewall off either.
This is the error I receive in OE:
Quote:
Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'mail.EDITED.com', Server: 'mail.EDITED.com', Protocol: SMTP, Port: 26, Secure(SSL): Yes, Error Number: 0x800CCC0F
View 3 Replies
View Related
Sep 17, 2007
I have been able to get my server to notify me fast enough so I can delete the account and all he messages sent by that user fast enough. Taking to long might result in getting blacklisted, etc..
So, my question is, how can I prevent something like this? Isn't there a way to completely disable mail for an account (cPanel server) so they can't send mail in the first place? Or, is there a way to somehow silently discard all the eMail sent by a user in a specific group?
View 14 Replies
View Related