Not sure why this is but in Apache 2.2, I had "NameVirtualHost *:80" in the httpd-vhosts.conf file. This was seemingly randomly making the virtualhosts point through to the htdocs root. Updating this to "NameVirtualHost localhost:80" has fixed the issue.
Not sure what the cause is, just glad to see the back of it.
Retweet this button on every post blogger
Wednesday, 30 December 2009
Email Marketing Safe List
Top tip is to send new subscribers an autoconfirmation with tips on how to add your domain to their white list.
Add "@YOURDOMAIN.com"as a safe sender in your e-mail client.
Here are the directions in Microsoft Outlook:
1) Start Outlook.
2) On the Tools menu, click Options.
3) On the Preferences tab, click Junk E-mail.
4) On the Safe Senders tab, click Add.
5) In the Add address or domain dialog box, type the e-mail address of the person who you want to trust, and then click OK. Retweet this button on every post blogger
Add "@YOURDOMAIN.com"as a safe sender in your e-mail client.
Here are the directions in Microsoft Outlook:
1) Start Outlook.
2) On the Tools menu, click Options.
3) On the Preferences tab, click Junk E-mail.
4) On the Safe Senders tab, click Add.
5) In the Add address or domain dialog box, type the e-mail address of the person who you want to trust, and then click OK. Retweet this button on every post blogger
Thursday, 24 December 2009
Mac wireless airport problems
Not sure if it local to the following:
- Mac OS X 10.4.11
- Airport 2
- Belkin Routers
Monday, 21 December 2009
Restart Apache Server In Mac OSX
Depending on the location of the apachectl file the following syntax will restart Apache from within terminal:
sudo /Applications/MAMP/Library/bin/apachectl restart Retweet this button on every post blogger
sudo /Applications/MAMP/Library/bin/apachectl restart Retweet this button on every post blogger
Monday, 7 December 2009
Getting Apache RewriteRule to work
No intro or background, to get the RewriteRule to work in htaccess you need to activate it. This is specifically for Apache and not ISAPI rewrite on IIS.
- Open httpd.conf
- Look for MULTIPLE occurances of AllowOverride None
- Change to AllowOverride All
- Un comment this line #LoadModule rewrite_module modules/mod_rewrite.so
- Save & restart the apache server
- Apache recommend not using htaccess for peformance reasons. There are other methods for nice urls.
- This is a Dev environment. I've not check out if the above has any security issues, for live servers.
Monday, 5 October 2009
Publish your LinkedIn profile to the web
Make your linkedIn profile readily available to others. Simply:
- Login to your profile
- Click "profile"
- Click "customise your URL"
- Click "Promote your profile with Customized Buttons"
- Pick a button, copy the code
Thursday, 1 October 2009
Most effective protection from copy/paste
Ever had a client ask for their content to be protected from copy/paste, or specifically tables of data? Well with Coldfusion you've a great head start.
The usual steps for doing this are to:
Here's the clever bit.
A good way to get round this I thought would be to send this information in via ajax so it's not in the source code. CF steps in with cfgrid which can bind itself to a CFC for remote AJAX calls. Not only do you get an instantly cool looking grid you get the AJAX power grid.
Now, normally this would still leave the ajax call prone to a direct call to display the information, but with CF when you try to call the CFC directly you get the CFIDE login screen. Pretty sweet.
There are obviously ways to still surpass this but I would hazard a guess that even most web savvy people won't be able to get this data and it would require some of us with a little more know how. Retweet this button on every post blogger
The usual steps for doing this are to:
- Disable copy/paste
- Prevent drag/drop of text blocks
- Remove right click & file bar
- Prevent print
Here's the clever bit.
A good way to get round this I thought would be to send this information in via ajax so it's not in the source code. CF steps in with cfgrid which can bind itself to a CFC for remote AJAX calls. Not only do you get an instantly cool looking grid you get the AJAX power grid.
Now, normally this would still leave the ajax call prone to a direct call to display the information, but with CF when you try to call the CFC directly you get the CFIDE login screen. Pretty sweet.
There are obviously ways to still surpass this but I would hazard a guess that even most web savvy people won't be able to get this data and it would require some of us with a little more know how. Retweet this button on every post blogger
Subscribe to:
Posts (Atom)