Recommended Home BusinessWork at Home Business
Work at Home
Home Menu
· Work at Home
· Home Business Sign Up

· Submit Article
· Work from Home Topics
· Downloads
· Home Business Lists
· Links Directory
· Work at Home Forum


Quotes

Login

Username
Password
Remember Me

Join Mailing List
These are the newsletter(s) we have available:
BizWhiz News
Inspiration
Mufads Newsletter
You must login to subscribe to a newsletter.

Alexa Traffic Ranking

Who's Online
We have 47 guests and 0 members online

You are an anonymous user. You can register for free by clicking here


  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
vinyl
Master Biz-Whizer


Joined: May 02, 2004
Posts: 321

Post 12 Posted: Jul 09, 2004 - 10:27 AM Reply with quote Back to top

Add those three lines inside .htaccess file (located in the root folder [public_html, www etc.])

AddType application/x-httpd-php .php .php3 .html .htm .cfm .biz-whiz .and .anything-else

AddType application/x-httpd-php-source .phps .source

DirectoryIndex index.php index.html index.cfm main-page.cfm main.biz-whiz root.and global.anything-else


First line will create custom extensions and assign them to PHP processor - as you can see, you can make custom endings for your web site files easily Smile for instance, you can make www.freelance-help.com/freelance.faq which will act the same as www.freelance-help.com/freelance-faq.php because extension .faq can be easily added to the list of extensions PHP will parse...

Second line means that files ending with .phps and .source wont be executed, instead, their complete source will appear in browser [rarely used, but you may need it]

Third line tells what will be the first file executed in browser, if visitor access root folder - for instance, if I go to www.freelance-help.com apache will try to access www.freelance-help.com/index.php first, then, if index.php not found, www.freelance-help.com/index.html etc. If none found it will report an error (interesting rule because you can make custom "index" pages - naming them completly different and non-standard.

M.

_________________
Outsourcing jobs :: Free blog :: Java games & ringtones
View user's profile Send private message Visit poster's website
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 PNphpBB Group

The Biz-Whiz Work from Home Community
Google
Search WWW Search Biz-Whiz.com