apparition.Designs | version 2 | anything you can imagine is real

.Welcome to apparition.Designs [apparitiondesigns.com]

Hello, we are currently under development and are trying to get all our content up as soon as possible. We hope to get the site up, tweaked, and bug-free A.S.A.P. If you have any questions or comments on what you have (or havent) seen so far, feel free to email me at StratzSfear@apparitionDesigns.com

 
 

.other ways of using .htaccess...

.make annother CGI-BIN

Now there are many reasons for this... one of the biggest ones is if you are trying to host annother user on your web hosting when the hosting isn't quite set up to do so. Anyways, add this to your .htaccess to create a CGI-BIN anywhere!

Options ExecCGI
AddType application/x-httpd-cgi .cgi
AddType application/x-httpd-cgi .sh
AddType application/x-httpd-cgi .pl

//(add on AddType for each type of file you wish to execute - for example perl scripts (.pl), etc.)

Then, create a folder called CGI-BIN (you can actually name it whatever you would like, but this is easy to remember and use...)

Then place the .htaccess inside the folder!

.Change values in php.ini with .htaccess

If your host has php installed (and it should) and you are using it (and you should) this will allow advanced users to change values when needed. Most general users of php will never need to touch this. Add whatever you need to the .htaccess in the top most directory (www or public_html)

 use values from [http://cvs.php.net/co.php/php-src/php.ini-dist]

You can then place most php.ini directives into your apache .htaccess file(s) by adding the "php_" prefix to the directive

I know that last one may be harder to understand, but if you can't you probably don't need to. (ask on the forums if you really need help)

.run .html as if they were .php!

Now this is really helpfull if you have already made your site and have every page linked, and now want to put php code in them.

AddType application/x-httpd-php .php3 .phtml .php .php4 .html .htm

Putting that in your .htaccess will allow all html and htm files to be treated as php files! Simple as that, add whatever extentions you would like.

If you have any other ways or helpfull things with .htaccess please post in the forums, ill make sure you get full credit!

Page 1, 2, 3, 4

Tutorial By: Stratz Sfear of apparition.Designs
Contact the Author: [E-Mail]
Questions? Comments? Ask at the forums! [Click Here!]