Tag Info

New answers tagged

0

If you have mod_rewrite, you can use RewriteRules: RewriteEngine On RewriteCond %{HTTP_HOST} ^inf\.xyz\.city\.eu [NC] RewriteRule (.*) http://sth.city.eu/$1 [R=301,QSA,L]


0

I believe you can solve this by setting up 2 vhosts: <VirtualHost *:80> ServerName inf.xyz.city.eu ServerAlias www.inf.xyz.city.eu Redirect / http://sth.city.eu/ </VirtualHost> <VirtualHost *:80> ServerName www.sth.city.eu ServerAlias sth.city.eu ServerAdmin webmaster@localhost [...] </VirtualHost> ...


0

Sender verification creates an additional load on the foreign MTA's so it isn't recommended. But you can setup a general spam-proof MTA. My experience shows that two simple conditions helps to detect about 90% of spam: Senders without PTR-record are definitely spammers. Those who can't setup PTR for a legal MTA are even worse. Senders with dynamically ...


1

This isn't going to be an answer, so much as an explanation of the complexity of what you are trying to do. You have to ALWAYS remember that an email can be addressed to more than one recipient. You said "I want to not queue it if it's a forwarder". Well, what do you do when one is forwarder and one is a local mailbox? You only know the content of the ...


5

Strict-Transport-Security - includeSubdomains The problem is the scope of the HSTS header, it includes all subdomains. If accessing http://demo.xml-director.info with a browser first it'll work fine. However, upon first access to https://xml-director.info/ or https://www.xml-director.info the browser will receive a HSTS header for all subdomains set to ...


0

To match more than one specific URL, you need to use a regular expression and then reference the found string in the action: <rule name="MySpecialRule" stopProcessing="true"> <match url="/sites/default/files/reports/([_a-z0-9]+).pdf" /> <action type="Rewrite" url="/reports/{R:1}.pdf" /> </rule> Here I assume your ...



Top 50 recent answers are included