-
What’s A CHMOD?
CHMOD is another name for setting the permissions of files on your server.
All UNIX based web servers understand the concept of permissions. these are broken down into three distinct areas.
Permissions for the person who OWNS the file.
Permissions for the group (all users are members of one or more groups).
Permissions for everyone else.Permissions are listed one of two ways either using numbers such as 755 or, using letters such as rwx-xr-x however they both mean the same thing.
The first number or first group of three letters stands for the permissions of the owner (IE 7 or rwx).
The second number or second group of letters stands for the permissions of the group (IE 5 or xr).
The third number or third group of letters stands for the permissions of everyone else (IE 5 or x).The way the system works is as follows:
1 = x = you are able to execute (run) this program.
2 = w = you are able to write to this file.
4 = r = you are able to read the contents of this file.so if you add it up rwx = 7.
So, in the example given above (755 or rwx-xr-x) the owner is allowed to read and write the file AND execute it.
The group is allowed to execute and write to the file.
Everyone else can execute the file.We hope this gives you a little more insight to how CHMOD’ing or, setting the permissions on your server can affect how files act.
Article written by Lee
-
Using .htaccess Effectively
The .htaccess file is an ASCII text document that can be placed in any directory on your site. It can be used to control access to files and directories, and customize some server operation in your site. A .htaccess file can be created in any word processor but must be saved as text only. You must use FTP software in ASCII mode to upload or edit your .htaccess file. For the examples provided here, place the .htaccess file in your root directory.
There are a variety of functions that you can control using .htaccess some of the more useful of these are explained below:
Custom Error Messages.
Add the following to the .htaccess file::
ErrorDocument 404 /notfound.html
After “ErrorDocument” specify the error code, followed by a space, and then the path and filename of the .html file you would like to be displayed when the specified error is generated, each specific error code is detailed below with the recommended codes to be used in the .htaccess file in bold :
200 OK
206 Partial content
301 Document moved permanently
302 Document found elsewhere
304 Not modified since last retrieval
400 Bad request
403 Access forbidden
404 Document not found
408 Request timeout
500 Internal server error
501 Request type not supportedUsing the codes above your error section of the .htaccess file should look like this:
ErrorDocument 301 /notfound.html
ErrorDocument 400 /notfound.html
ErrorDocument 403 /notfound.html
ErrorDocument 404 /notfound.html
ErrorDocument 500 /notfound.html
ErrorDocument 501 /notfound.htmlRedirect to a Different Folder.
Add the following to the .htaccess file:
RewriteEngine on
RewriteRule ^/oldfolder(.*)$ /newfolder/$1 [R]This redirects the user from /oldfolder/anyfile.html to /newfolder/anyfile.html, when the .htaccess file is uploaded to the otherwise empty “/oldfolder” directory.
Denying User Access.
Add the following to the .htaccess file:
<Limit GET>
order allow,deny
deny from 000.00.00.
deny from 000.000.000.000
allow from all
</Limit>This is an example of a .htaccess file that will block access to your site to anyone who is coming from any IP address beginning with 000.00.00 and from the specific IP address 000.000.000.000 . By specifying only part of an IP address, and ending the partial IP address with a period, all sub-addresses coming from the specified IP address block will be blocked. You must use the IP addresses to block access, use of domain names is not supported
Redirect a Machine Name.
Add the following to the .htaccess file:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Rewrite Rule for machine.domain-name.net
RewriteCond %{HTTP_HOST} machine.domain-name.net $
RewriteCond %{REQUEST_URI} !machine/
RewriteRule ^(.*)$ machine/$1This will redirect requests for the machine name machine.domain-name.net to the directory machine on the site domain-name.net.
Different Default Home Page.
Add the following to the .htaccess file:
DirectoryIndex filename.html
Then a request for http://domain-name.net/ would return http://domain-name.net/filename.html if it exists, or would list the directory if it did not exist.
To automatically run a cgi script, add the following to the .htaccess file:
DirectoryIndex /cgi-local/index.pl
This would cause the CGI script /cgi-bin/index.pl to be executed.
If you place your .htaccess file containing the DirectoryIndex specification in the root directory of your site, it will apply for all sub-directories at your site.
Preventing Hot Linking.
Add the following to the .htaccess file:
# Rewrite Rule for images
RewriteCond %{HTTP_REFERER} <URL of page accessing your domain>
RewriteRule ^(.*)$ http://<same as above URL>You would replace the <URL of page accessing your domain> above with the domain name and path of the page that is referring to your domain. For example: www.theirdomain.com/users/mypage/
The RewriteCond directive states that if the {HTTP_REFERER} matches the URL that follows, then use the RewriteRule directive. The RewriteRule directive will redirect any reference back to the referring web page.
Using the above you should, safely be able to publish your sites on the internet knowing that you will not be privy to bandwidth thieves via hotlinking and also, that you will not lose any traffic through pages that are ‘not found’.
Article Written By Lee
-
Obscenity – Put It To The Test
Regardless of how long any of us have been an adult webmaster we all need to be
aware of obscenity laws and, in particular how they affect our businesses
whether we think a hardcore photoset is ‘obscene’ or not ultimately, if you get
taken to court on obscenity charges the one thing you should be aware of is how
the courts will decide whether the images you are using will be classified as
obscene or not.Testing Obscenity – The Miller Test.
The Miller test was developed in the 1973 court case of Miller vs. California
and in comprises of three parts ALL of which MUST be satisfied on order for
something to be deemed obscene by the courts. The Miller test is the ‘official’
method used by the United States Supreme Court for determining whether an
expression or a speech can be determined as obscene and, if deemed obscene, it
is not protected under the First Amendment and is therefore prohibited by law.The Miller Test – Part One.
Part one of The Miller Test states something may be obscene if ‘the average
person, applying contemporary adult community standards, would find that the
work, taken as a whole, appeals to the prurient interest’ In essence, this
means that if the ‘average’ person on a jury or on the bench finds the work to
be deemed obscene then, it is. However for the court to rule something as
obscene it also has to be deemed obscene by the standards set in part two and
part three below.The Miller Test – Part Two.
Part two of The Miller Test states that something is potentially obscene is
‘the average person, applying contemporary adult community standards, would
find that the work depicts or describes, in a patently offensive way, sexual
conduct’. Basically this is saying that if the images or speech is something
which is not practiced in a manner befitting your local community standards
then again, it may be obscene. However, as with part one of The Miller Test for
a court to find something obscene it needs to fall below the standards in part
three below.The Miller Test – Part Three.
Part three of The Miller Test states that something is potentially obscene if,
‘a reasonable person would find that the work, taken as a whole, lacks serious
literary, artistic, political, or scientific value.’ This is pretty much where
you could potentially come unstuck after all, everyone has different sexual
tastes and because of this, just because something that may be widespread such
as ‘bare backing’ (to use as an example) could potentially be considered as
obscene if you happen to have a jury who are devout practicers of safe sex.The Miller Test – Overview.
In essence The Miller Test is a useful guideline for webmasters when it comes
to operating our sites and specifically, when it comes to choosing the types of
content we utilize on them however, for the most part The Miller Test itself is
outdated. Since the early 70’s when this test was devised there have been many
sexual practices that were once deemed obscene that have become more a part of
everyday life and accepted in to society as whole thus, what once would (or
could) have been deemed obscene would no longer be in the same sense as
something that may be deemed obscene today could be found not to be in 5 years
time.Article written by Lee
-
Guaranteed Marketing – Power Words
How many webmasters do you think actually pay attention to what they are writing so far as their sales copy go? Furthermore, if you actually think about it, how much time do you put into choosing the words in which you use on your websites? With the help of this brief article hopefully, you will start to choose the words in which you use a little more carefully, let me explain.
Power Words – What Are They?
Power words are a set of roughly 10 words that can invoke interest in a person, object or, in our case, a product which we would like to sell however, they are also much more than that. When used in the correct manner power words can become a webmasters greatest selling tool. However, everyone has their own unique set of power words that will appeal to them over everybody else, the good thing is, for the most part there are at least 25 words which almost everybody will look positively towards.Power Words – The List.
The following list is compiled from research at Yale University consisting of the most popular power words amongst a demographic of 1000 individuals of mixed sex. The words are, Discover, Easy, Guaranteed, Health, Love, Money, New, Proven, Results, Safety, Save and, You. By using these words in a variety of ways when writing our sales text we can almost be certain that we will keep the surfers attention and enable us to put the power of our marketing to good use.Power Words – Uses.
As already mentioned, the best use for the most common power words on our sites is to use them within our text links either at the start of the sentence or, the absolute end. Take a look at the following example to see what i mean.1) High Converting Affiliate Program.
2) Guaranteed To Convert Your Traffic.
3) Turn Your Traffic In To Cash – Guaranteed.You can see from the three examples above the the first example doesn’t really catch your attention whilst examples number 2 and 3 somehow seem to pull you into the ‘spirit’ of the site itself without even knowing what affiliate program it is.
By using this power word marketing technique as often as possible on your text links you can not only give your site visitor information but, compel them to click on your link.
Power Words – An Overview.
Hopefully you have seen from this brief article the ways in which power words can improve not only your text links pulling power but also how with the right marketing combination you can also use them to increase your sales.Article written by Lee
-
Domain Name Extensions + SEO
With a slew of new TLD (Top Level Domain) extensions being launched in the first quarter of 2004 in addition to the hundreds already available how many of us actually take time to consider that when we register a .com, .net or, .org domain how will these sites help or hinder us with our search engine work? This is what we will take a closer look at in this article.
Domain Name Extensions – What Are They?
First of all, before we look at how the extensions of our domain names can assist us in running our search engine optimization methods we need to understand what the TLD’s themselves are actually for. Domain name extensions are essentially a way to recognize specific locales via the usage of domain names so for example, the domain name extension .com were primarily set up as commercial domain names however, with the commercial use of this extension it has also become, without a doubt the most popular extension for individuals or companies registering new domain names. In addition to the TLD extensions there are also a selection of domains extensions ranging from industry specific extensions such as .aero to country specific extensions such as .co.uk.Domain Name Extensions And Search Engines.
Now we understand what the domain name extensions were put in place for we can now start to look at how they may benefit us in terms of SEO (search engine optimization) for example, head across to http://www.google.com and do a search on something such as ‘penis pills’ you can see from the results shown (01/01/04) that the first 10 results are evenly spread across a range of domain name extensions ranging from .com to .net and also some smaller .go.ro domain extensions. This would lead us to assume that at the current time, Google specifically is not paying to much attention to the extensions of the domain names we are using however, given the recent updates of the last month or two across Google this has also cleaned up a lot of the results that were present 2 months prior to this search in which the .biz extension was highly populated in the rankings.Domain Name Extension Abuse + Spam.
With this slew of new domain name extensions being launched what seems like yearly this also opens up a whole lot of new problems for the webmaster primarily that of the domain name spam. Because domain names can be registered for as little as $5 per year many webmasters have taken to purchasing them, using them to spam the search engines and then, once the search engines discover the spam and remove the offending domains, the webmaster then moves on to new domains in effect, making domain names a disposable commodity to them. Whilst this method will certainly garner traffic for the search engine spammer it will also in turn mean that the traffic that honest webmasters receive from the search engines will be lower.Domain Name Extensions And Optimization.
Hopefully this brief article has given you a little insight into how domain name extensions can both benefit and also detriment your business, by choosing your domain name extensions carefully and, making sure you do your best not to spam the search engines you can make some serious income from pure search engine traffic however, once you start to buy domain names with lesser known extensions to purely spam the search engines you are not only wasting your own money but, are also potentially wasting other hard working webmasters money too.Article written by Lee
-
Robots.txt – Control The Robots That Crawl Your Sites
By writing a structured text file you can indicate to robots that certain parts of your server are off-limits to some or all robots. It is best explained with an example:
# robots.txt file for general use on web servers.
User-agent: webcrawler
Disallow:User-agent: googlebot
Disallow: /User-agent: *
Disallow: /cgi-bin
Disallow: /logs
The first line, starting with ‘#’, specifies a comment.The first paragraph specifies that the robot called ‘webcrawler’ has nothing disallowed: it may go anywhere.
The second paragraph indicates that the robot called ‘googlebot’ has all relative URLs starting with ‘/’ disallowed. Because all relative URL’s on a server start with ‘/’, this means the entire site is closed off.
The third paragraph indicates that all other robots should not visit URLs starting with /cgi-bin or /log. Note the ‘*’ is a special token, meaning “any other User-agent”; you cannot use wildcard patterns or regular expressions in either User-agent or Disallow lines.
Two common errors:
Wildcards are not supported: instead of ‘Disallow: /tmp/*’ just say ‘Disallow: /tmp’.
You shouldn’t put more than one path on a Disallow line (this may change in a future version of the spec)
Ultimately, without the use of robots.txt files on your servers/domains, you are risking a variety of potential problems including, unauthorized access to your cgi directory, unauthorized viewing of your site stats, possible spamming of the search engines by accidental crawling of doorway pages.One distinct advantage however of having a robots.txt file on your server is that, quite simply, you will be able to tell when and where your site has been indexed or potentially indexed as, all robots will automatically call for the robots.txt file BEFORE any other page on your server so, as long as you keep an eye open for any calls of this file, you can see who is knocking at your site for indexing purposes.
Below is a robots.txt example that you can copy and paste into a text document to use on your own server:
<!–Start Copy Below This Line–>
User-agent: *
Disallow: /cgi-bin
Disallow: /logs<!–End Copy Above This Line–>
The above will allow all spiders to crawl all of your site except the subdirectory’s ‘cgi-bin’ and ‘logs’ which, may be altered to suit any subdirectory’s you do not wish the spiders to crawl on your server.
Article written by Lee
-
Moving To A New Hosting Company
Moving to a new hosting provider does not have to be a frustrating task if done properly.
Adult webmasters usually have to upgrade their hosting services once their respective Web sites become popular, usually because their current host cannot provide an effective level of scalability or technical support or, perhaps even the cost of bandwidth becomes to high.
In order to transfer service efficiently, in the event that it becomes necessary, webmasters should ensure that all their content, including Web pages, databases and scripts, are properly archived.
You should always back up your data at regular intervals in case of unexpected data loss or hardware failure. Ensure that all data is archived recursively. This will ensure that all your data is archived and compressed in its original directories, which is very important if you want to retain the full working integrity of your Web sites.
You may also find that your new hosting company may be able to transfer the files directly from your old server to the new one you are getting with them, ask before hand if this is something that they can do for you as it is generally a lot quicker for them to do it than for you to upload the files yourself for instance, Web Air will do this work for you.Once you have recursively archived your site, make arrangements to purchase your new hosting services. Make sure that any new solution you select includes basic services that approximate and excel the service that you where obtaining with your previous hosting provider. It makes no sense to replace your present hosting service with another Web hosting solution that equally cannot fulfill your technical or financial requirements.
The best resource to use to find a better hosting firm specific to the adult hosting industry is Adult Hosting Companies, the largest adult Web hosting resource directory with currently over 250 hosts listed.
Once your new solution is activated, upload your archived Web pages, database and scripts to the new host. You will be allocated an IP number from the new hosting company. Take time to debug and test the new site from the individual IP number, not forgetting things like your cgi scripts may need altering.
Once your site is entirely debugged and you verify that all site functionality is operative, then transfer your domain name service (DNS) servers over from your old server to your new server.
During this DNS transition period, which is referred to as the “propagation period,” your Web site will be resolved by both your new and old host, as the new DNS information about your Web site filters through the Internet globally. It typically takes about 10 days for the transfer to fully propagate around the Internet; so keep your old site running in case you get visitors whose ISP’s have cached your site on the old server.
It is important however that you retain both your old and new hosting services during your propagation period of 10 days. You will need to check your e-mail from both hosting providers since different regions of the Internet will remit e-mail to your original host while other regions will remit mail to the new server during this time.
Once a week or two have elapsed, cancel the account with the previous hosting company. Only cancel your old account when e-mail stops arriving from your old hosting provider.
If you follow these steps carefully, then your host change should be easy and stress free.
Article written by Lee
-
Displaying Special Characters On Your HTML Pag
In order to display certain characters within your HTML pages, you must use a special code. The codes below display the HTML code and the character when displayed on your web page. To use any of the characters displayed within the chart, copy & paste the HTML code to the left of the character you would like to use.
HTML Code Browser View HTML Code Browser View HTML Code Browser View HTML Code Browser View © © ! ! _ _  ® ® " “ ` ` ž ž # ` a a Ÿ Ÿ " “ $ $ b b   & & % % c c ¡ ¡ < < & & d d ¢ ¢ > > ' ‘ e e £ £ À À ( ( f f ¤ ¤ Á Á ) ) g g ¥ ¥   * * h h ¦ ¦ à à + + i i § § Ä Ä , , j j ¨ ¨ Å Å - – k k © © Æ Æ . . l l ª ª Ç Ç / / m m « « È È 0 0 n n ¬ ¬ É É 1 1 o o ­ Ê Ê 2 2 p p ® ® Ë Ë 3 3 q q ¯ ¯ Ì Ì 4 4 r r ° ° Í Í 5 5 s s ± ± Î Î 6 6 t t ² ² Ï Ï 7 7 u u ³ ³ Ð Ð 8 8 v v ´ ´ Ñ Ñ 9 9 w w µ µ Õ Õ : : x x ¶ ¶ Ö Ö ; ; y y · · Ø Ø < < z z ¸ ¸ Ù Ù = = { { ¹ ¹ Ú Ú > > | | º º Û Û ? ? } } » » Ü Ü @ @ ~ ~ ¼ ¼ Ý Ý A A  ? ½ ½ Þ Þ B B € € ¾ ¾ ß ß C C  ¿ ¿ à à D D ‚ ‚ À À á á E E ƒ ƒ Á Á å å F F „ „ Â Â æ æ G G … … à à ç ç H H † † Ä Ä è è I I ‡ ‡ Å Å é é J J ˆ ˆ Æ Æ ê ê K K ‰ ‰ Ç Ç ë ë L L Š Š È È ì ì M M ‹ ‹ É É í í N N Œ Œ Ê ? î î O O  Ë Ë ï ï P P Ž Ž Ì Ì ð ð Q Q  Í Í ñ ñ R R  Î Î ò ò S S ‘ ‘ Ï Ï ó ó T T ’ ’ Ð Ð ô ô U U “ “ Ñ Ñ õ õ V V ” ” Ò Ò ö ö W W • • Ó Ó ø ø X X – – Ô Ô ù ù Y Y — — Õ Õ ú ú Z Z ˜ ˜ Ö Ö û û [ [ ™ ™ × × ý ý \ \ š š Ø Ø þ þ ] ] › › Ù Ù ÿ ÿ ^ ^ œ œ Ú Ú Whilst the above list is by no means complete, it should contain the most useful characters and codes for you to build your sites using the special characters with ease.
Article written by Lee
-
New European V.A.T Laws – Are You Prepared?
Under a new law that has been passed in the EU from July 1st 2003 any internet based company selling services or goods to customers inside the EU will have to pay the member state of their customer/client the equivalent V.A.T (Value Added Tax) Rate.
This in itself is not a big problem, online business have been paying taxes for many years, the problems start to occur when you take a look at the current state of the V.A.T system in the EU state members on an individual basis.
The following list shows the percentage of V.A.T that you will need to add to your clients bills if they are located inside a member state of the EU:
Austria – 20% VAT
Belgium – 21% VAT
Denmark – 25% VAT
Finland – 22% VAT
France – 19.6% VAT
Germany – 16% VAT
Greece – 18% VAT
Ireland – 21% VAT
Italy – 20% VAT
Luxembourg – 15% VAT
Netherlands – 19% VAT
Portugal – 17% VAT
Spain – 16% VAT
Sweden – 25% VAT
United Kingdom – 17.5% VATThis will pose several problems for the adult industry namely, how will our billing processors be able to handle transactions from European Union citizens? After all, with so many different VAT rates across the EU their billing systems need to be able to correctly calculate the correct amount of VAT to the surfers final order.
Several accounting firms have set up new divisions to handle this for the mainstream side of the internet industry however, until just recently, the adult internet was unaware this was happening.
It would seem that although the international market place is a wholly viable one for adult webmasters to break into, it brings with it more complications that simply breaking the language barrier.
This new law will be a good test of the adult industry processors to see how they can handle the economic changes of the global market place and, more importantly, how they handle the new frontiers of international marketing on a global scale.
Article written by Lee
-
Redirecting Questionable Adult Traffic
The one thing almost all reputable adult webmasters agree on is that one way or the other, we want to rid the net of those webmasters that profit from traffic primarily gained from either the direct promotion of or, targeting of, keywords relating to child pornography however, how can you tell what traffic you are being sent and, more importantly, how can you do something about the type of traffic that you receive to your site in order to filter out this unwanted traffic? The answer is simple, use a script to redirect the traffic elsewhere before it even hits your site.
Child Porn Redirection Php Script.
The following php script when used on your server will enable you to send unwanted traffic gained by the promotion of using ‘illegal’ keywords in the search engines and sites which link to your own.
<!– Start Copy Here –>
<?
// Redirect “Lolita” traffic
$refer_full_path = “$HTTP_REFERER”.”$PATH_INFO”;
if(( preg_match(“/lolita/i”, $refer_full_path)) ||
( preg_match(“/child/i”, $refer_full_path)) ||
( preg_match(“/preteen/i”, $refer_full_path)) ||
( preg_match(“/pre-teen/i”, $refer_full_path)) ||
( preg_match(“/pedo/i”, $refer_full_path)) ||
( preg_match(“/underage/i”, $refer_full_path)) ||
( preg_match(“/beast/i”, $refer_full_path)) ||
( preg_match(“/rape/i”, $refer_full_path)) ||
( preg_match(“/kinder/i”, $refer_full_path)) ||
( preg_match(“/incest/i”, $refer_full_path)) ||
( preg_match(“/kiddie/i”, $refer_full_path))) {header(“Location: $refer_full_path”);
exit;
}?>
<?
$words=array(“childporn”,”underage”,”beast”,”interracial”,”lolita”,”preteen”);
for($i=0;$i<count($words);$i++){
if(eregi($words[$i],$HTTP_REFERER)){
header(“Location: http://www.fbi.gov/?CHILD_PORN_ON_DISK_LOGGED_AND_REPORTED”);
}
}
?><!– End Copy Here –>
In order to use this script, simply add additional keywords or partial word matches to the top part of the script and, include the bottom half of the script at the top of your HTML coding.
Any traffic being sent to your site via keywords which you have specifically told the script not to allow access to your web site will be forwarded to the url in the bottom part of the php script which again, can be changed to wherever you like.
Article written by Lee
Premium Sponsors
Categories
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing