Tag Info

Hot answers tagged

9

You can't stop a site linking to you with technical measures, but you can identify requests which have come from that site/url and block these in .htaccess - RewriteEngine on RewriteCond%{HTTP_REFERER} ^http://www\.site\.com [NC] RewriteRule index.html http://www.go-away.com/goaway.html [R] The above rules will probably need some tweeking, but the idea ...


8

Apache Jmeter is excellent for this sort of thing - you can simulate simple cases through to quite complicated functionality and it's free. There's a bit of a learning curve setting up the tests, but it's worth the few hours you'll take to learn it. It's also worth mentioning that Apache ships with the "ab" Apache Bench tool, which you can use for ...


5

I use Mercurial to manage everything, including my static HTML pages. It makes life really, really easy for me. Benefits include All the perks version control offers (rollbacks, milestone tags, etc) Being able to clone your site in a hurry You always have a working local backup / copy Easy to keep in sync if you tend to make changes en situ (in place, on ...


5

First of all: you are basically doing a lot of things very good at the moment. This results in good grades in PageSpeed for example. Also keep in mind that the biggest part of the waiting time is spent on the frontend, so it makes sense to optimize this before going deep into server configuration. These are some ideas: there are a lot of image requests, ...


4

Seems to be related to the dompdf library. Since you seem unaware it's even on your site, it's probably being used as a library by some utility or plugin for a CMS, for example. Does your site offer a feature to download a given page as a PDF? That would be the first place to look.


4

Maybe one of these is of use for you: opauth to interface with authentication providers or uLogin for adding secure login and authentication capabilities. You would be able to develop the specifics on your own (remember me ...) but make a great use of proven basics.


4

It looks like you have a significant performance problem. Somehow I doubt that you want bots to not index your content, so I'm just not going to go there... Absolutely the first thing you should do is set up caching. W3 Total Cache is a good start. I used to use WP Super Cache, but the former has many more options for setting up caching in various different ...


3

Permissions can be granted on owner, group and others. First, decide what permissions are necessary and which users are involved: Nginx running as www-data (group www-data): read-only php-fpm running as www-data (group www-data): read and write (if you'd like to allow operations like chmod, you should run php-fpm as the SFTP user. Beware: if someone can ...


3

In a standard linux (apache webserver) hosting environment it should be easier to get a php form and wordpress widget to work without tweaks. Without knowing what you did to make them work, it's difficult to answer your question. I've used hosts such as readyhosting.com that allow php to run on windows servers, but many hosts have better support for php ...


3

If you're going to stay within the control panel provided by Godaddy, then you probably won't see much of a difference between IIS (Windows) and Apache (Linux). If MySQL is truly a requirement then I would use Linux. I'm not even sure that MySQL is available on godaddy Windows packages. MySQL is generally run on Linux setups. ColdFusion should work on ...


3

Checkout this post http://webmasters.stackexchange.com/questions/385/how-do-you-load-test-your-application. It is very similar. Jmeter is mentioned and a few other solutions. Almost all of them looked to be free.


3

Can't speak for Arvixe's quality, but for $10 more than their VPS plan, you can get a 1GB VPS plan from DreamHost, an established hosting company with a good track record, also with unlimited storage and bandwidth. Media Temple is another popular web host, and their 1GB VPS plan is also $50/month (or $41/month if you pay yearly). However, they limit storage ...


3

If SSH is turned off then you are probably using shared hosting. This means you can't install software on your server. If you want custom software on your server you either need to find a host that already supports it or get a dedicate server or VPS. If you already have a dedicated server or VPS then you need to have them turn SSH on for you as there is no ...


3

I am a firm believer in "you get what you pay for". However, I have been using Dreamhost for quite some time and I am very pleased. I also hear that A Small Orange (http://www.asmallorange.com/hosting/shared/) is really decent as well. Ultimately it depends on your traffic and the hosts network capabilities to handle that traffic. Small sites should be ...


3

Apache, MySQL, and other common servers and background tasks (daemons) run under the 'nobody' user. From the Wikipedia entry for nobody: "In many Unix variants, "nobody" is the conventional name of a user account which owns no files, is in no privileged groups, and has no abilities except those which every other user has. It is common to ...


3

The command '/usr/sbin/sendmail anystring' is interpreted as meaning 'take the following input from stdin and email it to the user known as anystring', rather than 'please restart the service known as sendmail'. Are you sure you were using the sendmail daemon (as opposed to, say, postfix)? In either case the /usr/sbin/sendmail wrapper would most likely be ...


3

Containers running on virtualised servers such as OpenVZ or Virtuosso have a shared kernel (and shared memory) with every VPS on that machine. This means that the container time will be the same as the host computer's time, and the only person who can control that is the server administrator. You should still be able to edit the timezone of the VPS, though, ...


3

You may not be hosting malware now but you have relatively recently: http://safebrowsing.clients.google.com/safebrowsing/diagnostic?site=goodtherapy.org The script could be randomly injected or perhaps your ISP is cleaning things for you in the background. In any event, your site has been and probably still is compromised and you should be doing a ...


3

It could be done with a single SSL certificate. Specifically, what you want to do is to provide 'Subject Alt Names' in the certificate. Take a look at Google's certificate for example, which has the following Subject Alt Names. In other words, they have one certificate for all of those domains. DNS Name: *.google.com DNS Name: *.android.com DNS ...


3

I think closetnoc's advice is good, and your plan is sound, but in the comments there, you mentioned that you're running on a VPS on linode already. Depending on your time frame, what's preventing you from spinning up another VPS on linode, provisioning it exactly as needed and switching over to it, then shutting down/destroying the old VM? Is it just ...


2

This is a tough one, and I'd like to see how others deal with the problem. But we've done such email migrations before from DreamHost to Gmail, and this was done through Gmail's own email migration tool. It is reasonably fast, and works quite well, but obviously it only works if you're using Gmail hosted. Another tool you could use is imapsync. This is ...


2

Are you asking for a source that shows the latest current stable version of each app? If so, I think that's what package managers are for. So just pick the distro of your choice, their website should point you to the latest build. Then run apt-get/yum and install the latest stable release of each part of the stack. Or, if you're running Ubuntu, you could ...


2

Put the files outside of the webroot. Then using PHP pass the file though a script. Sample PHP: <?php $file = '/full/path/to/useruploads/secret.pdf'; header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename=' . basename($file)); ...


2

Well, you've left out the really obviously useful grep. If you don't know grep, you're really crippled. You'll also need to understand how pipes work, and how redirects work. Also, you should have a good understanding of ps, kill, and (if you're working on a vps) free. Also the difference between stderr and stdout. In Python, those commands are generally in ...


2

Picking a hosting provider is usually a fairly subjective process. You generally have to try them out to get a good feel for them. A couple of good ColdFusion providers I personally have used in the past have been Hosting.com (previously HostMySite.com) and CrystalTech (now known as 'The Small Business Authority'). Both have good plans available and are ...


2

EZPZHosting PHP: 5.2.15 MySQL: 5.0.92-community Call 0800 862 0331 and ask to speak to Dan (Say Hedley recommended you). Quality service, superb support (they also offer white label support via your WHMCS customer portal so you can offer 24/7 support to your customers) and excellent prices. I have been happy as a pig in muck since moving to these ...


2

This almost always in the result of the files being uploaded to the wrong directory. Your files need to be placed in the webroot of your website. This folder can have several names including: htdocs www public_html httpdocs Find that directory and place your files in there. You may also need to delete the default home page as it may have priority over ...


2

Magento is fast becoming the favoured open source e-commerce platform. (eBay recently acquired it, but don't let that put you off.) All versions, including the free Community Edition are still licensed under OSL-3.0 and they also offer a paid Enterprise Edition (compare editions here) as well as a hosted version. The Magento API is documented here, and the ...


2

for i in `ls emaildir/*@*` do grep $i logfile | grep '\['`date +%d/%b/%Y` | awk -F\" '{print $6}' done Where emaildir is the directory of files containing email addresses and logfile is the apache logfile. What it's doing is this: getting each file in the email directory with an @ in the filename searching the log file for lines containing that ...


2

Before now I have opened PSDs with the Gimp but it is not the same. Layers go missing, things involving text look different and latest features in new Photoshop versions simply do not work. Therefore, even if a PSD file does open in the Gimp you are not entirely sure if it is looking as it is supposed to. Therefore, you do need Photoshop. Photoshop works ...



Only top voted, non community-wiki answers of a minimum length are eligible