![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
.htaccess error pages
i wasn't sure if this is programming, then i decided it was so here goes:
my /.htaccess file ErrorDocument 401 errordocs/401.php ErrorDocument 403 errordocs/403.php ErrorDocument 404 errordocs/404.php ErrorDocument 500 errordocs/500.php but then when the user goes to some made up page, it doesn't go to the errordocs/404.php page. it says "No input file specified." when i trigger a 401 it just gives me the Forbidden page that it shows by default. anyone know what's wrong?
__________________
Children in the dark cause accidents, and accidents in the dark cause children. http://www.ronincoders.org |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
You might try
ErrorDocument 403 /errordocs/403.php and so forth. Is this your own server? If not, do you know for a fact the .htaccess facility is available to you?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
It's a NetworkSolutions.com server.
I guess it's not available. Oh well, doesn't really matter.
__________________
Children in the dark cause accidents, and accidents in the dark cause children. http://www.ronincoders.org |
|
|
|
|
|
#4 | |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
Quote:
"a bitching private is a happy private")
__________________
-Steven "Is this a piece of your brain?" - Basil Fawlty |
|
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
One often doesn't get all the bells and whistles on a "freebie" site. I don't know if that's what you have or not. I didn't get .htaccess facilities on mine until I moved from the freebie to a paid account. They still don't have mod-rewrite (for anyone). I'm unfamiliar with Network Solutions (beyone their name), so I can't say what their policies are.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
|
this isn't a freebie site, it's a professional hosting thing for a professional website i am making for a client. i think he pays like $10/month for it.
__________________
Children in the dark cause accidents, and accidents in the dark cause children. http://www.ronincoders.org |
|
|
|
|
|
#7 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I would think you would have the capability, then. You should be able to tell by checking the FAQ that's probably available from your control panel. You could also ask the support people.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|