WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-14-2003, 07:02 PM
WebCraft's Avatar
WebCraft WebCraft is offline
WebProWorld Pro
 

Join Date: Jul 2003
Location: New Hampshire
Posts: 110
WebCraft RepRank 0
Default .htaccess file creation help... please

Hello fellow developers.
I am trying to locate some information on the web about .htaccess files. Not for password protection but for my 404 error docs. I want to customize them.
Can someone please guide me step by step through what the lines of code are to read and so on?

I already have a page that is named oops.html for the customized read.

What can I do?

Thank you in advance!
__________________
"Take a break from your computer, and know that there is a world outside the door"
Scott S.
http://veritycreative.com/
Reply With Quote
  #2 (permalink)  
Old 10-14-2003, 07:34 PM
Sualdam Sualdam is offline
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Posts: 1,087
Sualdam RepRank 0
Default

These links explain it in detail:

http://www.freewebmasterhelp.com/tutorials/htaccess/1
http://help.mindspring.com/webhelp/r...ccessindex.htm
http://w3.ag.uiuc.edu/DLM/GoHTTP/htaccess.html
http://www.cs.brandeis.edu/~guru/htaccess/

That first one is very straightforward.

You may need to check with your host to make sure you can use them or have them enabled if you can't (I did).
__________________
Sualdam
Reply With Quote
  #3 (permalink)  
Old 10-14-2003, 07:39 PM
WebCraft's Avatar
WebCraft WebCraft is offline
WebProWorld Pro
 

Join Date: Jul 2003
Location: New Hampshire
Posts: 110
WebCraft RepRank 0
Default

Sualdam,

Thanks ever so much! That web site is a beauty! Will use it often I am sure.
__________________
"Take a break from your computer, and know that there is a world outside the door"
Scott S.
http://veritycreative.com/
Reply With Quote
  #4 (permalink)  
Old 10-28-2003, 08:26 PM
cyberious cyberious is offline
WebProWorld Pro
 

Join Date: Jul 2003
Location: Greentown, PA
Posts: 104
cyberious RepRank 0
Default One line in the .htaccess file

I've been using this simple method of redirecting to a custom 404 Error page.

Just add this line to the .htaccess file:

It will redirect to your custom html page.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: creation, file, help, htaccess



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Search Engine Friendly URLs by vBSEO 3.0.0