Catching A Spamming Virtual Host

Aug 8, 2007

I am managing few virtual domains on a server.

Recently I have seen lots of email activity. Most of the emails are being sent with php scripts which are run under apache. what I want is to catch the culprit domain

so the sender's return path in most cases is root@xxxxx as apache is running under root user.

The server runs plesk admin panel.

I know I can always inspect messages in the queue, qmhandle is good as well to do so. but is there any better way.

e.g. is there a way that instead of emails sent from php scripts with apache user domain name in return path and not root@server etc.

any tools to analyze this activity and then take necessary actions.

View 2 Replies


ADVERTISEMENT

Catching Spam Emails

Jul 25, 2009

We use some spam blockers that come with cPanel but sometimes it feels like it isn't enough to block out all spam coming in and going out of the server. Anyone here have any experience with any other third party softwares that may be able to stop emails in its track basing it on the content of the email itself?

View 4 Replies View Related

Postfix And Catching Incoming Mail

Dec 11, 2007

write a script which will run a script on every incoming mail, the script must touch a file in /var/log/mail - filename must be a login on server... thats all

i found something to use procmail, but i dont know how to bite it

how to do that? would be nice if you drop some links or tutorials..

always i hate mail servers!

View 1 Replies View Related

What Is Virtual Host?

Dec 15, 2008

What is virtual host?

View 4 Replies View Related

Mod_rewrite - Catching URL Paramaters Then Matching Them Using RewriteMap

May 15, 2009

My current URLs look like index.php?order=key, where 'key' is of course the key. I'd like to transform my URLs to a pattern that doesn't currently have any association with the 'key' used in the URL. I'm using the RewriteMap directive to map keys to new values. If I can take the following example URL:-

I'd like to transform index.php?order=hc to /homecare, so I've mapped the key with the value in the two column syntax required within a text file and linked to it.

My initial assumption was that I could then just RewriteRule the variable, but from what I've read I need to use RewriteCond to capture the query_string first.

So, this is my complete ruleset so far:-

RewriteEngine on
RewriteMap rewritemap txt:C:/WINDOWS/system32/inetsrv/rewrite/rewritemap.txt
RewriteCond %{QUERY_STRING}
RewriteRule ^(.*) test.asp?order=${rewritemap:$1}
I'm pretty sure my RewriteRule is correct, but of course there is no rule currently attached to RewriteCond, since I'm unsure what I need to put there.

Would you guys be kind enough to help me out a bit?

View 5 Replies View Related

Cpanel Catching Email Instead Of Google Apps

Apr 2, 2009

This is very perplexing, a few days ago our WHMCS stopped sending email to our google apps account. I soon found out that the server WHMCS is hosted on, that Cpanel is catching all email.

However, we have the DNS set @ everydns.com including a SPF+MX records which worked before on our DirectAdmin server; Our email use to go fine to google apps however it seems like Cpanel is somehow acting as the MX server?

View 6 Replies View Related

New Virtual Host ... Restart Necessary?

Feb 7, 2006

When you set up a new domain you have to write a new virtual host to httpd.conf... then you have to restart the Apache... Is their a way to do this without the restart. Surely a big ISP doesn't restart Apache every time a new domain is added.

View 9 Replies View Related

Virtual Host Redirection

Apr 30, 2008

explain our setup.

We have an in house centOS linux developer box running apache 2.x

We have our own on-site router/switch setup etc.

We host our external website whatever.com with Networksolutions

On our whatever.com DNS (via network solutions). We have our domain subscriber.whatever.com pointing to our external IP address. subscriber.whatever.com -> xx.xx.xx.xx

In our router configuration we have subscriber.whatever.com forwarding to our CentOS linux development box. it's forwarding to the internal network IP address 10.xx.xx.xx

However we want the box to redirect someone when they come in on subscriber.whatever.com... We basically want it to redirect them to subscriber.whatever.com:port/folder/

Preferably masked so that all someone would see is subscriber.whatever.com but they're actually at subscriber.whatever.com:port/folder/

Unfortunately network solutions's setup won't allow us to easily do this so we have to do it somehow locally.

Anyone have any suggestions? I've got this working on the box itself (if you goto the site on the box via gnome) however externally or on another system on our internal network it's a no go.

View 1 Replies View Related

Limited BW On Virtual Host

Jan 11, 2008

i use Apache.

I want limit 50 GB Traffic on 1 Virtual Host.

How to?

View 1 Replies View Related

Apache Virtual Host

Jul 25, 2008

For some reason, the first virtual host i have listed in apache2.conf gets all the traffic of all the other virtual hosts listed below it.

Example: Domain xyz.com is listed as the first virtual host. the second, third, and fourth are 123.com, 987.com, and mno.com, respectively (fictitious domains). However, it seems that everything below xyz.com goes straight to xyz.com.

If i switch the first entry, xyz.com with any of the others, such as mno.com, so that mno.com is the first virtual host entry, everything then forwards to that domain.

View 0 Replies View Related

Open_basedir With Virtual Host

Feb 5, 2008

I am trying to do open_basedir in my httpd.conf file using wildcards so I dont have to set it up for EACH account.

Here is my Virtual Host part in my conf:

<VirtualHost *>
VirtualDocumentRoot /www/%2+/%1.1/%1.2/%1.3/%1/htdocs/
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www..*$
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^www.(.+) http://$1 [P]
RequestHeader unset Accept-Encoding
RequestHeader unset Content-Encoding
</VirtualHost>
I have tried putting:
php_admin_value open_basedir /www/%2+/%1.1/%1.2/%1.3/%1/htdocs/

But I get this error looking at ANY PAGE:

Fatal error: Can't load /www/fatehost.net/a/l/d/aldo/htdocs/{FILE_IM_ON}, open_basedir restriction. in Unknown on line 0

View 4 Replies View Related

How To Connect Virtual PC To Host PC

Jun 10, 2007

I've downloaded and installed the Microsoft Virtual PC image for testing IE6. The development copy of my website is on the host PC, running on Windows XP/Apache/PHP. I need to use IE6 on the virtual PC to view pages served up by Apache on the host PC.

I know this requires networking them together, but I've no idea how to do that. I've installed the Microsoft Loopback Adapter on the host PC, and told the virtual PC it can use that adapter in the Virtual PC settings dialogue, but on the host PC the loopback adapter says "limited or no connectivity".

(Before someone suggests it, I've been using MultipleIEs. Trouble is, you can't test printing with that - you need a proper copy of IE6.)

View 9 Replies View Related

Apache - Run Virtual Host As User

Jun 5, 2009

I've run into a wall trying to run apache with multiple websites allowing users to use FTPd to manage files.

I'm running FreeBSD 7.1 on Apache 2.2.x

The issue is that Apache runs as www:www but FTPd writes the files as username:client. When performing some scripts that edit back-end files, this obviously can cause errors.

The data for each directory is stored in /home/username/www

I looked into some apache directives I could use. I tried putting User and Group directives into the vhost configuration for each vhost, but that did not work. I even found the perchild module and it looked like it can do the job but was a bit scared and turned off by the fact that it states it is beta at the top of the page. (I cannot link to it because I do not have enough posts.)

View 2 Replies View Related

VPS To Host Proxmox Virtual Appliances

Feb 28, 2009

In the proxmox site they say that they have tested and validated virtual appliances for major virtualization technologies (VMWare, OpenVZ and Virtuozzo).

However I contacted two VPS providers and both said they cannot host this due to custom kernel of this product.

I wish to know are there any other hosts who can host this in a VPS.

My requirements are like 300GB disk space and 800G of monthly bandwidth (prefer a guaranteed core).

View 4 Replies View Related

Apache Virtual Host, Can't Use Allowoverride

Jun 8, 2008

I have a virtual host and I want to allow .htaccess files to be used, but that requires to put allow override yes in the virtual host declairation as its off by default, but I get this error:

Starting httpd: Syntax error on line 16 of /etc/httpd/conf/virtualhosts.conf:
AllowOverride not allowed here

This completly ditches my whole virtual hosting idea that I've been planing for a while.

Any other way to allow .htaccess through virtual hosts?

using apache 2.2.3

View 4 Replies View Related

Who Is The BEST Virtual Dedicated Server Host

May 11, 2008

what hosts are considered the best for virtual dedicated servers.

I know about the big names like GoDaddy and Yahoo, but who really has the best service and (importantly) the best price/value?

Heres what I need power-wise: Something that offers 2GB+ of RAM to me, 20GB+ Hard Drive space, and something thats running on Windows. I intend to run 3 e-commerce sites off this, so if you think I need more power please recommend it.

View 18 Replies View Related

Apache ReverseProxy On Virtual Host

Nov 20, 2007

Today I configured a Virtual Host (VH) for one of my customers. VH run on WindowsServer 2003 Apache 2.0.59. I enabled mod_proxy and mod_proxy_http modules and successfully loaded. Here is the VH config:

Code:

<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin admin@example.com
ServerName www.example.com
DocumentRoot C:/Apache2/htdocs/www/example.com
DirectoryIndex index.php
<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
ProxyRequests Off
ProxyPass /cms-test [url]
ProxyPassReverse /cms-test [url]
ProxyPass /cms-eshop [url]
ProxyPassReverse /cms-eshop [url]
ErrorLog logs/www.example.com-error.log
CustomLog logs/www.example.com-access.log combined
</VirtualHost>
According stated above proxy should map the content of yyy.yyy.yyy.yyy:80 and send it to client... Apache doesn't do that but redirects client directly to yyy.yyy.yyy.yyy instead, even rewriting URL, what is not proper purpose of proxy. I would expect proxy to retrieve content from yyy.yyy.yyy.yyy:80 and forward it to client without URL rewriting. Rewriting URL and direct aiming of client to source of content is unsuccessfull of course, because the source (yyy.yyy.yyy.yyy:80) trust only to xxx.xxx.xxx.xxx which has a right to request a content.

Could anybody explain why proxy doesn't proxy and redirects instead?

View 2 Replies View Related

Setting Up Virtual Host In Apache

Mar 25, 2007

I'm trying to setup a subdomain, and this is what i've added in httpd.conf

<VirtualHost 000.000.000.000>
ServerName dir.domain.com
DocumentRoot /home/domain/html/dir/
</VirtualHost>

Am i missing something here? I restarted httpd when finished.. but it doesnt work.

View 3 Replies View Related

Virtual Host Redirects All Requests

Dec 31, 2007

I just went with Steadcom's VPS and they are great. I am setting things up and it's going pretty well, I have to dust off my linux/server knowledge that I haven't used in a couple of years.

Anyway I'm creating a virtual host.. I will have about 10 in the end, but right now I only have one domain IP Pointing to my new server. My registrar is NamesDirect.

When I create the virtual host, I can no longer access subdirectories directly. My Virtual Host directory is, say, /var/www/html/newdir

If I try to reach http://www.domainname.com which has been configued as a virtual host, that comes up correctly from the directory /var/www/html/newdir and works fine.

But if I try to reach http://myipaddress/newdir I get a 404 page not found error. Looking at the log, it's trying to reach /var/www/html/newdir/newdir so it's putting in the virtual host redirect even for just hitting the subdirectory directly.

Is this normal? Do I have something configured wrong? I have another domain that I have changed to IP Point to the VPS but until it propogates I won't be able to test having 2 virtual hosts.

Also.. I have not set up DNS on my VPS. I don't really understand it, and IP Pointing has always worked for me when I ran my own server form my home so I was just going to do that. But I wonder if this could be one of the problems.

View 1 Replies View Related

Apache :: Setup A Virtual Host

Aug 7, 2014

I have a fresh Ubuntu 14.04 install (desktop). I installed Apache, php and mysql from APT and updated everything.I tried to setup a virtual host using these directions: URL...I followed them to the letter:

o I created a folder /var/www/mydomain.local/public_html
o I copied the 000-default.conf in sites available and modified it
o I added mydomain.local to my hosts file (with IP of 127.0.0.1
o I used a2ensite to enable the host
o I used service apache2 reload

When I went to mydomain.local in firefox, it took me to the default host main page.I tried a restart of the service and even a reboot of the computer. No change.On a theory, I used a2dissite to remote 000-default from the enabled site list and reloaded the service. I got the home page for mydomain.local after that.

I created a named host called localhost and reloaded the apache. When I went to http://localhost it took me to the mydomain.local homepage. Rebooted the computer. Now, localhost gives me the apache default home page and mydomain.local does not work at all (I get a server not found).

I get the feeling that there is an apache configuration item I am missing but I cannot find it.

View 1 Replies View Related

Apache :: How To Ajp Redirect In Virtual Host

May 1, 2014

I have a server server.SERVER.com which ajp-redirects /app to port 8009 in httpd.conf as

View 7 Replies View Related

Apache Virtual Host Work On 80 But Not Over 443

Apr 18, 2013

OS: RHEL 6.4
SELinux: permissive mode
Apache: 2.2, mod_fcgid, mod_suxec, mod_ssl enabled
Common Name: [URL] .....

View 7 Replies View Related

Named Based Virtual Host Problem

May 23, 2009

i have xampp i followed this redivide.com/blog/setting-up-a-name-based-virtual-host-vhost/

when im on the computer that xampp runs on it works fine both domains go to their proper directory ones c://xampp/htdocs/fa and the others c://xampp/htdocs/wsd but when i try it on another computer both domains go to the default folder which is c://xampp/htdocs

View 3 Replies View Related

Just Installed Webmin On My Vps And Created A Virtual Host

Nov 8, 2009

I've currently installed webmin on my vps and i want to know ive followed this tutorial and is there away for me to setup my dns name servers for my domain how can i do that with webmin? .......

View 6 Replies View Related

Ubuntu + Apache + Virtual Host + Subversion

May 11, 2009

i have followed twice a tutorial (you'll find it if you type in google "sellersrank ubuntu subversion". It is the second result. You know, I cant insert URL in my posts yet...) to install Ubuntu + Apache + Virtual host + Subversion, but when i try to access the repository through "svn.domain.com" an error message like this is showed:

Address Not Found
Firefox can’t find the server at svn.domain.com.

I have Ubuntu 8.04 + Apache 2.2.8

View 4 Replies View Related

Apache :: Reducing Bandwidth To Virtual Host?

Jan 2, 2013

I'm going to use my apache server to host files(it works with a php script so we can't use FTP for now...) so I was wondering if I could limit this virtual host's bandwidth per second so the websites on the other virtual hosts still load properly. Any module for apache on windows which can do this?

View 2 Replies View Related

Apache :: Virtual Host Not Using Its Web Root Doc Folder

Jul 29, 2014

I use Webmin (1.69) to work on my development environment. I am using Ubuntu Desktop 14.04 right now. I am not exactly an Ubuntu newbie but I would not call myself an expert either.

I created a virtual host (newdomain.local) with webmin. I filled in all the fields and saved the new VH definition. I added newdomain.local to my hosts file with an ip address of 127.0.0.1 and restarted apache.

When I go to [URL] ...., it is not taking me to the VH's home page but to the default home page.

Why this might be happening?

View 2 Replies View Related

Apache :: Too Many Redirects With Virtual Host And HTAccess

Apr 5, 2013

I have a WAMP server that hosts a few sites, but I have a particular site with about 5 domains. I want them all to point to the correct website folder and all to be redirected to a single domain for SEO purposes. Here is what it looks like in the virtual hosts file:

<VirtualHost 50.62.82.101>ServerAdmin info@hovaness.comDocumentRoot "c:/wamp/www/example"ServerName example.comServerAlias example.net www.example.com www.examples.net www.examples.com examples.com examples.netErrorLog "logs/example.com.log"

View 1 Replies View Related

Any UK Or European Host Accepting VPN (Virtual Private Network)?

May 28, 2007

I'm looking for a host located in UK that can accept/support vpn/tunnel connections to the VPS - creation and access to vps' /dev/net/tun (TAP/TUN device) for use with tunneling services like vtun.

I am currently a customer of webhosting.uk.com, they look very good host but unfortunately they dont accept or support vpn on their VPS plans.

The bigger the list of hosts supporting vpn, the best.

Maybe hosts of other european countries too, if connection speed is acceptable.

View 12 Replies View Related

Turning On Register Globals For One Virtual Host With Php4cgi

Jul 4, 2008

i know normally the user can put a flag in their .htaccess to do this, this does work for php5 because it is run using dso, but php4 is run using cgi and the one client that needs register globals also needs it for php4,

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved