Tag Info

New answers tagged

0

Okay. I am going to suggest a little bit of work that will save you some effort down the road. I have to make some assumptions in this answer in order to help. You will have three distinct tasks: one, editing your configuration files; two, define your sub-domain in DNS; three, restart Apache. I will substitute your abcd.com with example.com. I will also ...


0

You are looking for something pretty similar to me. This code worked (it redirects the user to a new link) but it needs some polish Options +FollowSymlinks -MultiViews <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^(.*)\.example\.com RewriteRule ^(.*)$ /%1-index.php [L,NC] </IfModule> So this should redirect ...


0

This, at first blush, it looks like a Microsoft Hosting customer is trying to access a SharePoint file. It can be a simple on-line data collection effort or possibly a malware compromised computer seeking for vulnerabilities. It can go either way. There is very little information on this pattern yet to tell. I appears there may be malware that searches for ...


0

If you want to direct users to the closest server to them using only DNS then i would recommend setting up a couple of cheap VPS's you can use to host your own DNS in different geographical locations. DNS round robin isn't really a great way to do geo location based load balancing because if you have multiple A records with different IP addresses the DNS ...


1

I prefer to have my error log outside a publicly accessible directory. You can change the location of the error log either in your virtual host configuration or via a htaccess file: php_value error_log /home/path/error.log Alternatively if you don't want to change its location you can prevent access like this <Files error.log> Order allow,deny ...


0

Yes, this file should not be publically accessible over HTTP. Presumably this is generated by your webhost and not by your own scripts? In which case your host should really have implemented the necessary restriction to block access, however, you can do this yourself in .htaccess: RewriteRule ^error\.log$ - [F] This should be placed above any existing ...


0

I had the 403 error and this bit solved it. Require all granted I was almost ready to give up on virtual hosts with Wamp. Although I had read 2-3 blogs I missed this option. Also on my browser it was using google search in URL bar so I had to type http:// before the server name the first time I typed it.


0

I'm trying to figure out how you're looking after their hosting when the domains are different unless this is all on the same server. Anyways, The problem with your setup SEO wise (as you somewhat indicated) is speed, because Apache web server is trying to connect to the other domain and load the correct data before the client can see anything. This causes ...



Top 50 recent answers are included